You are here

public function CommentXmlAnonTest::testPostSkipCommentApproval in Drupal 9

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

Tests POSTing a comment with and without 'skip comment approval'.

Overrides CommentResourceTestBase::testPostSkipCommentApproval

File

core/modules/comment/tests/src/Functional/Rest/CommentXmlAnonTest.php, line 63

Class

CommentXmlAnonTest
@group rest

Namespace

Drupal\Tests\comment\Functional\Rest

Code

public function testPostSkipCommentApproval() {

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