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