function NodeResourceTestBase::nodeResourceTestBaseSkipTests

Same name in other branches
  1. 10 core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php \Drupal\Tests\node\Functional\Rest\NodeResourceTestBase::nodeResourceTestBaseSkipTests()

Marks some tests as skipped because XML cannot be deserialized.

File

core/modules/node/tests/src/Functional/Rest/NodeResourceTestBase.php, line 47

Class

NodeResourceTestBase

Namespace

Drupal\Tests\node\Functional\Rest

Code

public function nodeResourceTestBaseSkipTests() : void {
    if (static::$format === 'xml' && $this->name() === 'testPatchPath') {
        $this->markTestSkipped('Deserialization of the XML format is not supported.');
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.