MediaTypeXmlCookieTest.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Tests\media\Functional\RestFile
core/modules/media/tests/src/Functional/Rest/MediaTypeXmlCookieTest.phpView source
<?php
namespace Drupal\Tests\media\Functional\Rest;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
/**
* @group rest
*/
class MediaTypeXmlCookieTest extends MediaTypeResourceTestBase {
use CookieResourceTestTrait;
use XmlEntityNormalizationQuirksTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'xml';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'text/xml; charset=UTF-8';
/**
* {@inheritdoc}
*/
protected static $auth = 'cookie';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}
Classes
Name | Description |
---|---|
MediaTypeXmlCookieTest | @group rest |