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