NodeXmlAnonTest.php in Drupal 10
Same filename and directory in other branches
Namespace
Drupal\Tests\node\Functional\RestFile
core/modules/node/tests/src/Functional/Rest/NodeXmlAnonTest.phpView source
<?php
namespace Drupal\Tests\node\Functional\Rest;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
/**
* @group rest
*/
class NodeXmlAnonTest extends NodeResourceTestBase {
use AnonResourceTestTrait;
use XmlEntityNormalizationQuirksTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'xml';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'text/xml; charset=UTF-8';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
public function testPatchPath() {
// Deserialization of the XML format is not supported.
$this
->markTestSkipped();
}
}
Classes
Name | Description |
---|---|
NodeXmlAnonTest | @group rest |