protected property UserRegistrationResourceTest::$currentUser in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php \Drupal\Tests\user\Unit\UserRegistrationResourceTest::currentUser
- 10 core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php \Drupal\Tests\user\Unit\UserRegistrationResourceTest::currentUser
The current user.
Type: \Drupal\Core\Session\AccountInterface|\PHPUnit\Framework\MockObject\MockObject
File
- core/
modules/ user/ tests/ src/ Unit/ UserRegistrationResourceTest.php, line 58
Class
- UserRegistrationResourceTest
- Tests User Registration REST resource.
Namespace
Drupal\Tests\user\UnitCode
protected $currentUser;