class DesignTokenJsonBasicAuthTest

Same name and namespace in other branches
  1. main core/tests/Drupal/FunctionalTests/Rest/DesignTokenJsonBasicAuthTest.php \Drupal\FunctionalTests\Rest\DesignTokenJsonBasicAuthTest

Tests Design Token Json Basic Auth.

Attributes

#[Group('rest')] #[RunTestsInSeparateProcesses]

Hierarchy

Expanded class hierarchy of DesignTokenJsonBasicAuthTest

File

core/tests/Drupal/FunctionalTests/Rest/DesignTokenJsonBasicAuthTest.php, line 14

Namespace

Drupal\FunctionalTests\Rest
View source
class DesignTokenJsonBasicAuthTest extends DesignTokenResourceTestBase {
  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.