MessageJsonCookieTest.php in Drupal 9
Same filename and directory in other branches
Namespace
Drupal\Tests\contact\Functional\RestFile
core/modules/contact/tests/src/Functional/Rest/MessageJsonCookieTest.phpView source
<?php
namespace Drupal\Tests\contact\Functional\Rest;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
/**
* @group rest
*/
class MessageJsonCookieTest extends MessageResourceTestBase {
use CookieResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/json';
/**
* {@inheritdoc}
*/
protected static $auth = 'cookie';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}
Classes
Name | Description |
---|---|
MessageJsonCookieTest | @group rest |