FacetSourceXmlBasicAuthTest.php in Facets 8
Namespace
Drupal\Tests\facets\Functional\RestFile
tests/src/Functional/Rest/FacetSourceXmlBasicAuthTest.phpView source
<?php
namespace Drupal\Tests\facets\Functional\Rest;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
use Drupal\Tests\rest\Functional\EntityResource\XmlEntityNormalizationQuirksTrait;
/**
* Rest test for xml, basic auth, index entity.
*
* @group facets
*/
class FacetSourceXmlBasicAuthTest extends FacetSourceResourceTestBase {
use BasicAuthResourceTestTrait;
use XmlEntityNormalizationQuirksTrait;
/**
* {@inheritdoc}
*/
public static $modules = [
'basic_auth',
];
/**
* {@inheritdoc}
*/
protected static $format = 'xml';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'text/xml; charset=UTF-8';
/**
* {@inheritdoc}
*/
protected static $auth = 'basic_auth';
}
Classes
Name | Description |
---|---|
FacetSourceXmlBasicAuthTest | Rest test for xml, basic auth, index entity. |