FacetJsonBasicAuthTest.php in Facets 8
Namespace
Drupal\Tests\facets\Functional\RestFile
tests/src/Functional/Rest/FacetJsonBasicAuthTest.phpView 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
Name | Description |
---|---|
FacetJsonBasicAuthTest | Rest test for json, basic auth, index entity. |