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