You are here

FacetSourceXmlBasicAuthTest.php in Facets 8

File

tests/src/Functional/Rest/FacetSourceXmlBasicAuthTest.php
View 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

Namesort descending Description
FacetSourceXmlBasicAuthTest Rest test for xml, basic auth, index entity.