You are here

public function ModeratedNodeXmlBasicAuthTest::testPatchPath in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php \Drupal\Tests\rest\Functional\EntityResource\ModeratedNode\ModeratedNodeXmlBasicAuthTest::testPatchPath()

Tests PATCHing a node's path with and without 'create url aliases'.

For a positive test, see the similar test coverage for Term.

Overrides NodeResourceTestBase::testPatchPath

See also

\Drupal\Tests\rest\Functional\EntityResource\Term\TermResourceTestBase::testPatchPath()

File

core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php, line 44

Class

ModeratedNodeXmlBasicAuthTest
@group rest

Namespace

Drupal\Tests\rest\Functional\EntityResource\ModeratedNode

Code

public function testPatchPath() {

  // Deserialization of the XML format is not supported.
  $this
    ->markTestSkipped();
}