class ShortcutJsonAnonTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutJsonAnonTest
- 9 core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutJsonAnonTest
@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\shortcut\Functional\Rest\ShortcutResourceTestBase
- class \Drupal\Tests\shortcut\Functional\Rest\ShortcutJsonAnonTest uses AnonResourceTestTrait
- class \Drupal\Tests\shortcut\Functional\Rest\ShortcutResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase
Expanded class hierarchy of ShortcutJsonAnonTest
File
- core/
modules/ shortcut/ tests/ src/ Functional/ Rest/ ShortcutJsonAnonTest.php, line 10
Namespace
Drupal\Tests\shortcut\Functional\RestView source
class ShortcutJsonAnonTest extends ShortcutResourceTestBase {
use AnonResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/json';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AnonResourceTestTrait:: |
protected | function | ||
AnonResourceTestTrait:: |
protected | function | ||
ShortcutJsonAnonTest:: |
protected | property | ||
ShortcutJsonAnonTest:: |
protected static | property | ||
ShortcutJsonAnonTest:: |
protected static | property | ||
ShortcutResourceTestBase:: |
protected | property | The Shortcut entity. | |
ShortcutResourceTestBase:: |
protected static | property | ||
ShortcutResourceTestBase:: |
protected static | property | 2 | |
ShortcutResourceTestBase:: |
protected static | property | ||
ShortcutResourceTestBase:: |
protected | function | ||
ShortcutResourceTestBase:: |
protected | function | ||
ShortcutResourceTestBase:: |
protected | function | ||
ShortcutResourceTestBase:: |
protected | function | ||
ShortcutResourceTestBase:: |
protected | function |