knowledge-8.x-1.x-dev/tests/src/Functional/Rest/KnowledgeJsonCookieTest.php
tests/src/Functional/Rest/KnowledgeJsonCookieTest.php
<?php
namespace Drupal\Tests\knowledge\Functional\Rest;
use Drupal\Tests\rest\Functional\CookieResourceTestTrait;
/**
* Tests json cookie auth.
*
* @group rest
*/
class KnowledgeJsonCookieTest extends KnowledgeResourceTestBase {
use CookieResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/json';
/**
* {@inheritdoc}
*/
protected static $auth = 'cookie';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}
