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