You are here

class ShortcutJsonBasicAuthTest in Drupal 10

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

@group rest

Hierarchy

Expanded class hierarchy of ShortcutJsonBasicAuthTest

File

core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonBasicAuthTest.php, line 10

Namespace

Drupal\Tests\shortcut\Functional\Rest
View source
class ShortcutJsonBasicAuthTest extends ShortcutResourceTestBase {
  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