MediaFunctionalTestTrait::$nonAdminUser

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

A non-admin test user account.

Type: \Drupal\user\UserInterface

File

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

Class

MediaFunctionalTestTrait
Trait with helpers for Media functional tests.

Namespace

Drupal\Tests\media\Functional

Code

protected $nonAdminUser;

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