You are here

protected static property ShortcutJsonBasicAuthTest::$auth in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonBasicAuthTest.php \Drupal\Tests\shortcut\Functional\Rest\ShortcutJsonBasicAuthTest::auth

The authentication mechanism to use in this test.

(The default is 'cookie' because that doesn't depend on any module.)

Type: string

Overrides ResourceTestBase::$auth

File

core/modules/shortcut/tests/src/Functional/Rest/ShortcutJsonBasicAuthTest.php, line 37

Class

ShortcutJsonBasicAuthTest
@group rest

Namespace

Drupal\Tests\shortcut\Functional\Rest

Code

protected static $auth = 'basic_auth';