rdf-2.1.0/tests/src/Functional/Rest/RdfMappingXmlBasicAuthTest.php
tests/src/Functional/Rest/RdfMappingXmlBasicAuthTest.php
<?php
namespace Drupal\Tests\rdf\Functional\Rest;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
/**
* Tests XML Basic authentication for RDF mappings.
*
* @group rest
*/
class RdfMappingXmlBasicAuthTest extends RdfMappingResourceTestBase {
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';
}
