You are here

class RoleJsonBasicAuthTest in Drupal 10

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

@group rest

Hierarchy

Expanded class hierarchy of RoleJsonBasicAuthTest

File

core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\user\Functional\Rest
View source
class RoleJsonBasicAuthTest extends RoleResourceTestBase {
  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