You are here

FacetSummaryJsonBasicAuthTest.php in Facets 8

File

modules/facets_summary/tests/src/Functional/Rest/FacetSummaryJsonBasicAuthTest.php
View source
<?php

namespace Drupal\Tests\facets_summary\Functional\Rest;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * Rest test for json, basic auth, index entity.
 *
 * @group facets
 */
class FacetSummaryJsonBasicAuthTest extends FacetSummaryResourceTestBase {
  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
FacetSummaryJsonBasicAuthTest Rest test for json, basic auth, index entity.