knowledge-8.x-1.x-dev/tests/src/Functional/Rest/KnowledgeXmlCookieTest.php
tests/src/Functional/Rest/KnowledgeXmlCookieTest.php
<?php
namespace Drupal\Tests\knowledge\Functional\Rest;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
/**
* Tests the XML cookie.
*
* @group rest
*/
class KnowledgeXmlCookieTest extends KnowledgeResourceTestBase {
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';
/**
* {@inheritdoc}
*/
public function testPostDxWithoutCriticalBaseFields() {
// Deserialization of the XML format is not supported.
$this->markTestSkipped();
}
/**
* {@inheritdoc}
*/
public function testPostSkipKnowledgeApproval() {
// Deserialization of the XML format is not supported.
$this->markTestSkipped();
}
}
