You are here

protected static property CommentTypeJsonBasicAuthTest::$auth in Drupal 9

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

Class

CommentTypeJsonBasicAuthTest
@group rest

Namespace

Drupal\Tests\comment\Functional\Rest

Code

protected static $auth = 'basic_auth';