You are here

class ShortcutXmlBasicAuthTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlBasicAuthTest.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutXmlBasicAuthTest
  2. 9 core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlBasicAuthTest.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutXmlBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of ShortcutXmlBasicAuthTest

File

core/modules/shortcut/tests/src/Functional/Rest/ShortcutXmlBasicAuthTest.php, line 11

Namespace

Drupal\Tests\shortcut\Functional\Rest
View source
class ShortcutXmlBasicAuthTest extends ShortcutResourceTestBase {
  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';

}

Members