FieldConfigHalJsonBasicAuthTest.php in Drupal 9
File
core/modules/field/tests/src/Functional/Hal/FieldConfigHalJsonBasicAuthTest.php
View source
<?php
namespace Drupal\Tests\field\Functional\Hal;
use Drupal\Tests\field\Functional\Rest\FieldConfigResourceTestBase;
use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;
class FieldConfigHalJsonBasicAuthTest extends FieldConfigResourceTestBase {
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';
}