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