PathAliasJsonAnonTest.php

Same filename in other branches
  1. 9 core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php
  2. 8.9.x core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php
  3. 11.x core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php

Namespace

Drupal\Tests\path_alias\Functional\Rest

File

core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonAnonTest.php

View source
<?php

declare (strict_types=1);
namespace Drupal\Tests\path_alias\Functional\Rest;

use Drupal\Tests\rest\Functional\AnonResourceTestTrait;

/**
 * Test path_alias entities for unauthenticated JSON requests.
 *
 * @group path_alias
 */
class PathAliasJsonAnonTest extends PathAliasResourceTestBase {
    use AnonResourceTestTrait;
    
    /**
     * {@inheritdoc}
     */
    protected static $format = 'json';
    
    /**
     * {@inheritdoc}
     */
    protected static $mimeType = 'application/json';
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';

}

Classes

Title Deprecated Summary
PathAliasJsonAnonTest Test path_alias entities for unauthenticated JSON requests.

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