function TermResourceTestBase::termResourceTestBaseSkipTests

Same name in other branches
  1. 10 core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php \Drupal\Tests\taxonomy\Functional\Rest\TermResourceTestBase::termResourceTestBaseSkipTests()

Marks some tests as skipped because XML cannot be deserialized.

File

core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php, line 41

Class

TermResourceTestBase

Namespace

Drupal\Tests\taxonomy\Functional\Rest

Code

public function termResourceTestBaseSkipTests() : 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.