class CommentXmlBasicAuthTest

Same name and namespace in other branches
  1. 11.x core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php \Drupal\Tests\comment\Functional\Rest\CommentXmlBasicAuthTest
  2. 10 core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php \Drupal\Tests\comment\Functional\Rest\CommentXmlBasicAuthTest
  3. 8.9.x core/modules/comment/tests/src/Functional/Rest/CommentXmlBasicAuthTest.php \Drupal\Tests\comment\Functional\Rest\CommentXmlBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of CommentXmlBasicAuthTest

File

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

Namespace

Drupal\Tests\comment\Functional\Rest
View source
class CommentXmlBasicAuthTest extends CommentResourceTestBase {
  use BasicAuthResourceTestTrait;
  use XmlEntityNormalizationQuirksTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'basic_auth',
  ];
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'xml';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'text/xml; charset=UTF-8';
  
  /**
   * {@inheritdoc}
   */
  protected static $auth = 'basic_auth';
  
  /**
   * {@inheritdoc}
   */
  public function testPostDxWithoutCriticalBaseFields() {
    // Deserialization of the XML format is not supported.
    $this->markTestSkipped();
  }
  
  /**
   * {@inheritdoc}
   */
  public function testPostSkipCommentApproval() {
    // Deserialization of the XML format is not supported.
    $this->markTestSkipped();
  }

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.