You are here

public function CommentXmlCookieTest::testPostDxWithoutCriticalBaseFields in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/tests/src/Functional/Rest/CommentXmlCookieTest.php \Drupal\Tests\comment\Functional\Rest\CommentXmlCookieTest::testPostDxWithoutCriticalBaseFields()
  2. 9 core/modules/comment/tests/src/Functional/Rest/CommentXmlCookieTest.php \Drupal\Tests\comment\Functional\Rest\CommentXmlCookieTest::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/CommentXmlCookieTest.php, line 39

Class

CommentXmlCookieTest
@group rest

Namespace

Drupal\Tests\comment\Functional\Rest

Code

public function testPostDxWithoutCriticalBaseFields() {

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