You are here

class ViewJsonBasicAuthTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Functional/Rest/ViewJsonBasicAuthTest.php \Drupal\Tests\views\Functional\Rest\ViewJsonBasicAuthTest
  2. 9 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';

}

Members