class EntityViewModeHalJsonBasicAuthTest

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/FunctionalTests/Hal/EntityViewModeHalJsonBasicAuthTest.php \Drupal\FunctionalTests\Hal\EntityViewModeHalJsonBasicAuthTest

@group hal @group legacy

Hierarchy

Expanded class hierarchy of EntityViewModeHalJsonBasicAuthTest

File

core/modules/hal/tests/src/Functional/Core/EntityViewModeHalJsonBasicAuthTest.php, line 12

Namespace

Drupal\Tests\hal\Functional\Core
View source
class EntityViewModeHalJsonBasicAuthTest extends EntityViewModeResourceTestBase {
  use BasicAuthResourceTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $modules = [
    'hal',
    'basic_auth',
  ];
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'hal_json';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/hal+json';
  
  /**
   * {@inheritdoc}
   */
  protected static $auth = 'basic_auth';

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.