class DesignTokenXmlBasicAuthTest

Same name and namespace in other branches
  1. main core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php \Drupal\FunctionalTests\Rest\DesignTokenXmlBasicAuthTest

Tests Design Token Xml Basic Auth.

Attributes

#[Group('rest')] #[RunTestsInSeparateProcesses]

Hierarchy

Expanded class hierarchy of DesignTokenXmlBasicAuthTest

File

core/tests/Drupal/FunctionalTests/Rest/DesignTokenXmlBasicAuthTest.php, line 15

Namespace

Drupal\FunctionalTests\Rest
View source
class DesignTokenXmlBasicAuthTest extends DesignTokenResourceTestBase {
  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';

}

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