You are here

protected static property EntityTestBundleJsonBasicAuthTest::$auth in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonBasicAuthTest.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleJsonBasicAuthTest::auth
  2. 9 core/modules/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonBasicAuthTest.php \Drupal\Tests\entity_test\Functional\Rest\EntityTestBundleJsonBasicAuthTest::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/system/tests/modules/entity_test/tests/src/Functional/Rest/EntityTestBundleJsonBasicAuthTest.php, line 37

Class

EntityTestBundleJsonBasicAuthTest
@group rest

Namespace

Drupal\Tests\entity_test\Functional\Rest

Code

protected static $auth = 'basic_auth';