You are here

class TourJsonBasicAuthTest in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/tour/tests/src/Functional/Rest/TourJsonBasicAuthTest.php \Drupal\Tests\tour\Functional\Rest\TourJsonBasicAuthTest
  2. 9 core/modules/tour/tests/src/Functional/Rest/TourJsonBasicAuthTest.php \Drupal\Tests\tour\Functional\Rest\TourJsonBasicAuthTest

@group rest

Hierarchy

Expanded class hierarchy of TourJsonBasicAuthTest

File

core/modules/tour/tests/src/Functional/Rest/TourJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\tour\Functional\Rest
View source
class TourJsonBasicAuthTest extends TourResourceTestBase {
  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