You are here

class BlockXmlBasicAuthTest in Drupal 10

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

@group rest

Hierarchy

Expanded class hierarchy of BlockXmlBasicAuthTest

File

core/modules/block/tests/src/Functional/Rest/BlockXmlBasicAuthTest.php, line 11

Namespace

Drupal\Tests\block\Functional\Rest
View source
class BlockXmlBasicAuthTest extends BlockResourceTestBase {
  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