✏️ Fix typo in code comment

This commit is contained in:
Pierre Goiffon
2021-11-05 11:24:11 +01:00
parent 821c14ee86
commit 456283866c

View File

@@ -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