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