BlockJsonCookieTest.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Tests\block\Functional\RestFile
core/modules/block/tests/src/Functional/Rest/BlockJsonCookieTest.phpView source
<?php
namespace Drupal\Tests\block\Functional\Rest;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
/**
* @group rest
*/
class BlockJsonCookieTest extends BlockResourceTestBase {
use CookieResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/json';
/**
* {@inheritdoc}
*/
protected static $auth = 'cookie';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'classy';
}
Classes
Name | Description |
---|---|
BlockJsonCookieTest | @group rest |