WorkspaceJsonAnonTest.php in Drupal 10
Same filename and directory in other branches
File
core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.phpView source
<?php
namespace Drupal\Tests\workspaces\Functional\EntityResource;
use Drupal\Tests\rest\Functional\AnonResourceTestTrait;
/**
* Test workspace entities for unauthenticated JSON requests.
*
* @group workspaces
*/
class WorkspaceJsonAnonTest extends WorkspaceResourceTestBase {
use AnonResourceTestTrait;
/**
* {@inheritdoc}
*/
protected static $format = 'json';
/**
* {@inheritdoc}
*/
protected static $mimeType = 'application/json';
/**
* {@inheritdoc}
*/
protected $defaultTheme = 'stark';
}
Classes
Name | Description |
---|---|
WorkspaceJsonAnonTest | Test workspace entities for unauthenticated JSON requests. |