class WorkspaceJsonCookieTest

Same name and namespace in other branches
  1. 11.x core/modules/workspaces/tests/src/Functional/Rest/WorkspaceJsonCookieTest.php \Drupal\Tests\workspaces\Functional\Rest\WorkspaceJsonCookieTest

Test workspace entities for JSON requests with cookie authentication.

@group workspaces

Hierarchy

Expanded class hierarchy of WorkspaceJsonCookieTest

File

core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonCookieTest.php, line 12

Namespace

Drupal\Tests\workspaces\Functional\EntityResource
View source
class WorkspaceJsonCookieTest extends WorkspaceResourceTestBase {
  use CookieResourceTestTrait;
  
  /**
   * {@inheritdoc}
   */
  protected static $format = 'json';
  
  /**
   * {@inheritdoc}
   */
  protected static $mimeType = 'application/json';
  
  /**
   * {@inheritdoc}
   */
  protected static $auth = 'cookie';
  
  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.