You are here

FacetJsonBasicAuthTest.php in Facets 8

File

tests/src/Functional/Rest/FacetJsonBasicAuthTest.php
View source
<?php

namespace Drupal\Tests\facets\Functional\Rest;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * Rest test for json, basic auth, index entity.
 *
 * @group facets
 */
class FacetJsonBasicAuthTest extends FacetResourceTestBase {
  use BasicAuthResourceTestTrait;

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'basic_auth',
  ];

  /**
   * {@inheritdoc}
   */
  protected static $format = 'json';

  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';

  /**
   * {@inheritdoc}
   */
  protected static $auth = 'basic_auth';

}

Classes

Namesort descending Description
FacetJsonBasicAuthTest Rest test for json, basic auth, index entity.