You are here

public function CommentXmlBasicAuthTest::testPostDxWithoutCriticalBaseFields in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php \Drupal\Tests\comment\Functional\Rest\CommentXmlBasicAuthTest::testPostDxWithoutCriticalBaseFields()
  2. 10 core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php \Drupal\Tests\comment\Functional\Rest\CommentXmlBasicAuthTest::testPostDxWithoutCriticalBaseFields()

Tests POSTing a comment without critical base fields.

Tests with the most minimal normalization possible: the one returned by ::getNormalizedPostEntity().

But Comment entities have some very special edge cases:

Overrides CommentResourceTestBase::testPostDxWithoutCriticalBaseFields

File

core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php, line 44

Class

CommentXmlBasicAuthTest
@group rest

Namespace

Drupal\Tests\comment\Functional\Rest

Code

public function testPostDxWithoutCriticalBaseFields() {

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