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