You are here

protected static property PathAliasJsonBasicAuthTest::$auth in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/path_alias/tests/src/Functional/Rest/PathAliasJsonBasicAuthTest.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasJsonBasicAuthTest::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/path_alias/tests/src/Functional/Rest/PathAliasJsonBasicAuthTest.php, line 39

Class

PathAliasJsonBasicAuthTest
Test path_alias entities for JSON requests via basic auth.

Namespace

Drupal\Tests\path_alias\Functional\Rest

Code

protected static $auth = 'basic_auth';