You are here

protected static property MessageXmlBasicAuthTest::$auth in Drupal 10

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

Class

MessageXmlBasicAuthTest
@group rest

Namespace

Drupal\Tests\contact\Functional\Rest

Code

protected static $auth = 'basic_auth';