class TermJsonBasicAuthTest

Same name and namespace in other branches
  1. 11.x core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php \Drupal\Tests\taxonomy\Functional\Rest\TermJsonBasicAuthTest
  2. 10 core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php \Drupal\Tests\taxonomy\Functional\Rest\TermJsonBasicAuthTest
  3. 8.9.x core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php \Drupal\Tests\taxonomy\Functional\Rest\TermJsonBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of TermJsonBasicAuthTest

File

core/modules/taxonomy/tests/src/Functional/Rest/TermJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\taxonomy\Functional\Rest
View source
class TermJsonBasicAuthTest extends TermResourceTestBase {
  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.