protected static property ShortcutJsonBasicAuthTest::$auth in Drupal 9
Same name and namespace in other branches
- 8 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\RestCode
protected static $auth = 'basic_auth';