MediaFunctionalTestTrait::$adminUser

Same name in other branches
  1. 9 core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php \Drupal\Tests\media\Functional\MediaFunctionalTestTrait::adminUser
  2. 8.9.x core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php \Drupal\Tests\media\Functional\MediaFunctionalTestTrait::adminUser
  3. 10 core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php \Drupal\Tests\media\Functional\MediaFunctionalTestTrait::adminUser

An admin test user account.

Type: \Drupal\Core\Session\AccountInterface

File

core/modules/media/tests/src/Functional/MediaFunctionalTestTrait.php, line 42

Class

MediaFunctionalTestTrait
Trait with helpers for Media functional tests.

Namespace

Drupal\Tests\media\Functional

Code

protected $adminUser;

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