You are here

class EntityViewModeJsonBasicAuthTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php \Drupal\FunctionalTests\Rest\EntityViewModeJsonBasicAuthTest
  2. 9 core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php \Drupal\FunctionalTests\Rest\EntityViewModeJsonBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of EntityViewModeJsonBasicAuthTest

File

core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonBasicAuthTest.php, line 10

Namespace

Drupal\FunctionalTests\Rest
View source
class EntityViewModeJsonBasicAuthTest extends EntityViewModeResourceTestBase {
  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