You are here

class EntityTestJsonBasicAuthTest in Drupal 10

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

@group rest

Hierarchy

Expanded class hierarchy of EntityTestJsonBasicAuthTest

File

core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\entity_test\Functional\Rest
View source
class EntityTestJsonBasicAuthTest extends EntityTestResourceTestBase {
  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