BlockHalJsonCookieTest.php in Drupal 8
File
core/modules/block/tests/src/Functional/Hal/BlockHalJsonCookieTest.php
View source
<?php
namespace Drupal\Tests\block\Functional\Hal;
use Drupal\Tests\block\Functional\Rest\BlockResourceTestBase;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
class BlockHalJsonCookieTest extends BlockResourceTestBase {
use CookieResourceTestTrait;
public static $modules = [
'hal',
];
protected $defaultTheme = 'classy';
protected static $format = 'hal_json';
protected static $mimeType = 'application/hal+json';
protected static $auth = 'cookie';
}