diff --git a/test/application/privUITransactionFileTest.php b/test/application/privUITransactionFileTest.php index 5b428441c..f2eca6b5b 100644 --- a/test/application/privUITransactionFileTest.php +++ b/test/application/privUITransactionFileTest.php @@ -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