BlockHalJsonBasicAuthTest.php in Drupal 8
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;
public static $modules = [
'hal',
'basic_auth',
];
protected $defaultTheme = 'classy';
protected static $format = 'hal_json';
protected static $mimeType = 'application/hal+json';
protected static $auth = 'basic_auth';
}