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