ResourceTestBase::$account

The account to use for authentication.

Type: null|\Drupal\Core\Session\AccountInterface

File

core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php, line 199

Class

ResourceTestBase
Subclass this for every JSON:API resource type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected $account;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.