class ViewJsonBasicAuthTest

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Functional/Rest/ViewJsonBasicAuthTest.php \Drupal\Tests\views\Functional\Rest\ViewJsonBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of ViewJsonBasicAuthTest

File

core/modules/views/tests/src/Functional/Rest/ViewJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\views\Functional\Rest
View source
class ViewJsonBasicAuthTest extends ViewResourceTestBase {
  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.