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