JsonApiFunctionalTestBase::$user

Same name in other branches
  1. 9 core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php \Drupal\Tests\jsonapi\Functional\JsonApiFunctionalTestBase::user
  2. 8.9.x core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php \Drupal\Tests\jsonapi\Functional\JsonApiFunctionalTestBase::user
  3. 11.x core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php \Drupal\Tests\jsonapi\Functional\JsonApiFunctionalTestBase::user

Test user.

Type: \Drupal\user\Entity\User

File

core/modules/jsonapi/tests/src/Functional/JsonApiFunctionalTestBase.php, line 59

Class

JsonApiFunctionalTestBase
Provides helper methods for the JSON:API module's functional tests.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected $user;

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