EntityTestBundleHalJsonAnonTest.php
Same filename in other branches
Namespace
Drupal\Tests\entity_test\Functional\HalFile
-
core/
modules/ system/ tests/ modules/ entity_test/ tests/ src/ Functional/ Hal/ EntityTestBundleHalJsonAnonTest.php
View source
<?php
namespace Drupal\Tests\entity_test\Functional\Hal;
use Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleResourceTestBase;
use Drupal\Tests\hal\Functional\EntityResource\HalEntityNormalizationTrait;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
/**
* @group hal
*/
class EntityTestBundleHalJsonAnonTest extends EntityTestBundleResourceTestBase {
use HalEntityNormalizationTrait;
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 |
---|---|---|
EntityTestBundleHalJsonAnonTest | @group hal |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.