mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
✏️ Fix typo in code comment
This commit is contained in:
@@ -154,7 +154,7 @@ class privUITransactionFileTest extends ItopDataTestCase
|
||||
// created users aren't admin, so each one can't see the other (\UserRights::GetSelectFilter)
|
||||
// If calling \UserRights::Login(user1) then \UserRights::Login(user2) we won't be able to load user2 !
|
||||
// As now we are in the admin context, we are calling FindUser() directly so that user objects will be saved in the UserRights cache !
|
||||
// user1 can be omitted as the first \UserRights::Login cache will initialize the UserRights cache
|
||||
// we can skip doing this for user1 as the first \UserRights::Login call will initialize the UserRights cache !
|
||||
$this->InvokeNonPublicStaticMethod(UserRights::class, 'FindUser', [self::USER2_TEST_LOGIN]);
|
||||
|
||||
// create token in the user1 context
|
||||
|
||||
Reference in New Issue
Block a user