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