TestBase::$originalUser

The original user, before testing began.

Type: \Drupal\Core\Session\AccountProxyInterface

File

core/modules/simpletest/src/TestBase.php, line 204

Class

TestBase
Base class for Drupal tests.

Namespace

Drupal\simpletest

Code

protected $originalUser;

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