ShortcutHalJsonBasicAuthTest.php

Same filename in other branches
  1. 9 core/modules/hal/tests/src/Functional/shortcut/ShortcutHalJsonBasicAuthTest.php

Namespace

Drupal\Tests\shortcut\Functional\Hal

File

core/modules/shortcut/tests/src/Functional/Hal/ShortcutHalJsonBasicAuthTest.php

View source
<?php

namespace Drupal\Tests\shortcut\Functional\Hal;

use Drupal\Tests\rest\Functional\BasicAuthResourceTestTrait;

/**
 * @group hal
 */
class ShortcutHalJsonBasicAuthTest extends ShortcutHalJsonAnonTest {
    use BasicAuthResourceTestTrait;
    
    /**
     * {@inheritdoc}
     */
    public static $modules = [
        'basic_auth',
    ];
    
    /**
     * {@inheritdoc}
     */
    protected $defaultTheme = 'stark';
    
    /**
     * {@inheritdoc}
     */
    protected static $auth = 'basic_auth';

}

Classes

Title Deprecated Summary
ShortcutHalJsonBasicAuthTest @group hal

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