function NodeResourceTestBase::nodeResourceTestBaseSkipTests
Same name in other branches
- 11.x 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.
@before
File
-
core/
modules/ node/ tests/ src/ Functional/ Rest/ NodeResourceTestBase.php, line 48
Class
Namespace
Drupal\Tests\node\Functional\RestCode
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.