ModeratedNodeXmlBasicAuthTest.php

Same filename and directory in other branches
  1. 9 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php
  2. 8.9.x core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php
  3. 10 core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php

Namespace

Drupal\Tests\rest\Functional\EntityResource\ModeratedNode

File

core/modules/rest/tests/src/Functional/EntityResource/ModeratedNode/ModeratedNodeXmlBasicAuthTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\rest\Functional\EntityResource\ModeratedNode;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;

/**
 * @group rest
 */
class ModeratedNodeXmlBasicAuthTest extends ModeratedNodeResourceTestBase {
    use BasicAuthResourceTestTrait;
    use XmlEntityNormalizationQuirksTrait;
    
    /**
     * {@inheritdoc}
     */
    protected static $modules = [
        'basic_auth',
    ];
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';
    
    /**
     * {@inheritdoc}
     */
    protected static $format = 'xml';
    
    /**
     * {@inheritdoc}
     */
    protected static $mimeType = 'text/xml; charset=UTF-8';
    
    /**
     * {@inheritdoc}
     */
    protected static $auth = 'basic_auth';
    
    /**
     * {@inheritdoc}
     */
    public function testPatchPath() : void {
        // Deserialization of the XML format is not supported.
        $this->markTestSkipped();
    }

}

Classes

Title Deprecated Summary
ModeratedNodeXmlBasicAuthTest @group rest

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.