class EntityViewDisplayJsonBasicAuthTest

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/FunctionalTests/Rest/EntityViewDisplayJsonBasicAuthTest.php \Drupal\FunctionalTests\Rest\EntityViewDisplayJsonBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of EntityViewDisplayJsonBasicAuthTest

File

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

Namespace

Drupal\FunctionalTests\Rest
View source
class EntityViewDisplayJsonBasicAuthTest extends EntityViewDisplayResourceTestBase {
  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';

}

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