class BlockJsonAnonTest in Drupal 10
Same name and namespace in other branches
- 8 core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php \Drupal\Tests\block\Functional\Rest\BlockJsonAnonTest
- 9 core/modules/block/tests/src/Functional/Rest/BlockJsonAnonTest.php \Drupal\Tests\block\Functional\Rest\BlockJsonAnonTest
@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\block\Functional\Rest\BlockResourceTestBase
- class \Drupal\Tests\block\Functional\Rest\BlockJsonAnonTest uses AnonResourceTestTrait
- class \Drupal\Tests\block\Functional\Rest\BlockResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\ConfigEntityResourceTestBase
- class \Drupal\Tests\rest\Functional\EntityResource\EntityResourceTestBase
- class \Drupal\Tests\rest\Functional\ResourceTestBase
Expanded class hierarchy of BlockJsonAnonTest
File
- core/
modules/ block/ tests/ src/ Functional/ Rest/ BlockJsonAnonTest.php, line 10
Namespace
Drupal\Tests\block\Functional\RestView source
class BlockJsonAnonTest extends BlockResourceTestBase {
use AnonResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/json';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}