ShortcutSetHalJsonAnonTest.php
Same filename in other branches
Namespace
Drupal\Tests\shortcut\Functional\HalFile
-
core/
modules/ shortcut/ tests/ src/ Functional/ Hal/ ShortcutSetHalJsonAnonTest.php
View source
<?php
namespace Drupal\Tests\shortcut\Functional\Hal;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
use Drupal\Tests\shortcut\Functional\Rest\ShortcutSetResourceTestBase;
/**
* @group hal
*/
class ShortcutSetHalJsonAnonTest extends ShortcutSetResourceTestBase {
use AnonResourceTestTrait;
/**
* {@inheritdoc}
*/
public static $modules = [
'hal',
];
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
/**
* {@inheritdoc}
*/
protected static $format = 'hal_json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/hal+json';
}
Classes
Title | Deprecated | Summary |
---|---|---|
ShortcutSetHalJsonAnonTest | @group hal |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.