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