CommentJsonCookieTest.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Tests\comment\Functional\RestFile
core/modules/comment/tests/src/Functional/Rest/CommentJsonCookieTest.phpView source
<?php
namespace Drupal\Tests\comment\Functional\Rest;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
/**
* @group rest
*/
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';
}
Classes
Name | Description |
---|---|
CommentJsonCookieTest | @group rest |