You are here

class BlockJsonBasicAuthTest in Drupal 10

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

@group rest

Hierarchy

Expanded class hierarchy of BlockJsonBasicAuthTest

File

core/modules/block/tests/src/Functional/Rest/BlockJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\block\Functional\Rest
View source
class BlockJsonBasicAuthTest extends BlockResourceTestBase {
  use BasicAuthResourceTestTrait;

  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'basic_auth',
  ];

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

  /**
   * {@inheritdoc}
   */
  protected static $format = 'json';

  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';

  /**
   * {@inheritdoc}
   */
  protected static $auth = 'basic_auth';

}

Members