class ShortcutSetJsonBasicAuthTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonBasicAuthTest.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetJsonBasicAuthTest
- 9 core/modules/shortcut/tests/src/Functional/Rest/ShortcutSetJsonBasicAuthTest.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetJsonBasicAuthTest
@group rest
Hierarchy
- class \Drupal\Tests\BrowserTestBase extends \PHPUnit\Framework\TestCase uses \Drupal\Tests\PhpUnitCompatibilityTrait, \Symfony\Bridge\PhpUnit\ExpectDeprecationTrait, FunctionalTestSetupTrait, TestSetupTrait, BlockCreationTrait, ConfigTestTrait, ExtensionListTestTrait, ContentTypeCreationTrait, NodeCreationTrait, RandomGeneratorTrait, TestRequirementsTrait, PhpUnitWarnings, UiHelperTrait, UserCreationTrait, XdebugRequestTrait
- class \Drupal\Tests\rest\Functional\ResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase
- class \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetResourceTestBase
- class \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetJsonBasicAuthTest uses BasicAuthResourceTestTrait
- class \Drupal\Tests\shortcut\Functional\Rest\ShortcutSetResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase
Expanded class hierarchy of ShortcutSetJsonBasicAuthTest
File
- core/
modules/ shortcut/ tests/ src/ Functional/ Rest/ ShortcutSetJsonBasicAuthTest.php, line 10
Namespace
Drupal\Tests\shortcut\Functional\RestView source
class ShortcutSetJsonBasicAuthTest extends ShortcutSetResourceTestBase {
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';
}