WorkspaceJsonAnonTest.php

Same filename in other branches
  1. 9 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php
  2. 10 core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php
  3. 11.x core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php
  4. 10 core/modules/workspaces/tests/src/Functional/Rest/WorkspaceJsonAnonTest.php
  5. 11.x core/modules/workspaces/tests/src/Functional/Rest/WorkspaceJsonAnonTest.php

Namespace

Drupal\Tests\workspaces\Functional\EntityResource

File

core/modules/workspaces/tests/src/Functional/EntityResource/WorkspaceJsonAnonTest.php

View 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

Title Deprecated Summary
WorkspaceJsonAnonTest Test workspace entities for unauthenticated JSON requests.

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