From 01ca0dce8e05f3cac945e2f2e0da5e91d14e26fb Mon Sep 17 00:00:00 2001 From: nojimage Date: Fri, 9 Feb 2024 16:06:42 +0900 Subject: [PATCH] fixes test --- tests/TestCase/Auth/CookieAuthenticateTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestCase/Auth/CookieAuthenticateTest.php b/tests/TestCase/Auth/CookieAuthenticateTest.php index 5a8384d..3f32d41 100644 --- a/tests/TestCase/Auth/CookieAuthenticateTest.php +++ b/tests/TestCase/Auth/CookieAuthenticateTest.php @@ -315,7 +315,7 @@ public function testOnAfterIdentify(): void 'model' => 'AuthUsers', 'foreign_id' => 1, ]) - ->orderDesc('modified') + ->orderDesc('id') ->all(); $this->assertCount(3, $tokens);