EntityTestLabelHalJsonBasicAuthTest.php in Drupal 9
File
core/modules/system/tests/modules/entity_test/tests/src/Functional/Hal/EntityTestLabelHalJsonBasicAuthTest.php
View source
<?php
namespace Drupal\Tests\entity_test\Functional\Hal;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
class EntityTestLabelHalJsonBasicAuthTest extends EntityTestLabelHalJsonAnonTest {
use BasicAuthResourceTestTrait;
protected static $modules = [
'basic_auth',
];
protected $defaultTheme = 'stark';
protected static $auth = 'basic_auth';
}