CommentXmlAnonTest.php in Drupal 10
File
core/modules/comment/tests/src/Functional/Rest/CommentXmlAnonTest.php
View source
<?php
namespace Drupal\Tests\comment\Functional\Rest;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
class CommentXmlAnonTest extends CommentResourceTestBase {
use AnonResourceTestTrait;
use XmlEntityNormalizationQuirksTrait;
protected static $format = 'xml';
protected static $mimeType = 'text/xml; charset=UTF-8';
protected $defaultTheme = 'stark';
protected static $patchProtectedFieldNames = [
'pid',
'entity_id',
'changed',
'thread',
'entity_type',
'field_name',
];
public function testPostDxWithoutCriticalBaseFields() {
$this
->markTestSkipped();
}
public function testPostSkipCommentApproval() {
$this
->markTestSkipped();
}
}