EntityViewModeJsonCookieTest.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\FunctionalTests\RestFile
core/tests/Drupal/FunctionalTests/Rest/EntityViewModeJsonCookieTest.phpView source
<?php
namespace Drupal\FunctionalTests\Rest;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
/**
* @group rest
*/
class EntityViewModeJsonCookieTest extends EntityViewModeResourceTestBase {
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 |
---|---|
EntityViewModeJsonCookieTest | @group rest |