From 2b2fa3e3370c95f2bcd6dae2b0b4866e66dd7e55 Mon Sep 17 00:00:00 2001 From: Marcelo Rocha Date: Fri, 29 Mar 2024 10:00:06 -0300 Subject: [PATCH] Account lockout policy - fail if no user id --- .../TestCase/Identifier/PasswordLockout/LockoutHandlerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase/Identifier/PasswordLockout/LockoutHandlerTest.php b/tests/TestCase/Identifier/PasswordLockout/LockoutHandlerTest.php index 5845c484..45c87ef8 100644 --- a/tests/TestCase/Identifier/PasswordLockout/LockoutHandlerTest.php +++ b/tests/TestCase/Identifier/PasswordLockout/LockoutHandlerTest.php @@ -118,7 +118,7 @@ public function testIsUnlockedWithoutIdButNotEmpty() $handler = new LockoutHandler(); $user = [ 'username' => 'user-2', - 'email' => 'user-2@test.com' + 'email' => 'user-2@test.com', ]; $actual = $handler->isUnlocked($user); $this->assertFalse($actual);