ShortcutJsonAnonTest.php

Same filename in other branches
  1. 9 core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php
  2. 8.9.x core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php
  3. 10 core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php

Namespace

Drupal\Tests\shortcut\Functional\Rest

File

core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonAnonTest.php

View source
<?php

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

use Drupal\Tests\rest\Functional\AnonResourceTestTrait;

/**
 * @group rest
 */
class ShortcutJsonAnonTest extends ShortcutResourceTestBase {
    use AnonResourceTestTrait;
    
    /**
     * {@inheritdoc}
     */
    protected static $format = 'json';
    
    /**
     * {@inheritdoc}
     */
    protected static $mimeType = 'application/json';
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';

}

Classes

Title Deprecated Summary
ShortcutJsonAnonTest @group rest

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