RdfMappingHalJsonBasicAuthTest.php in Drupal 8
File
core/modules/rdf/tests/src/Functional/Hal/RdfMappingHalJsonBasicAuthTest.php
View source
<?php
namespace Drupal\Tests\rdf\Functional\Hal;
use Drupal\Tests\rdf\Functional\Rest\RdfMappingResourceTestBase;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
class RdfMappingHalJsonBasicAuthTest extends RdfMappingResourceTestBase {
use BasicAuthResourceTestTrait;
public static $modules = [
'hal',
'basic_auth',
];
protected $defaultTheme = 'stark';
protected static $format = 'hal_json';
protected static $mimeType = 'application/hal+json';
protected static $auth = 'basic_auth';
}