File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -316,5 +316,6 @@ public function testCreatedAtIfDefaultLocaleSetFaWithAddGroup(): void
316316 ]);
317317
318318 Locale::setDefault ($ currentLocale );
319+ Time::setTestNow ();
319320 }
320321}
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ public function testLoginActionEmailSuccess(): void
9393
9494 // Session should have `logged_in` value with user's id
9595 $ this ->assertSame ($ this ->user ->id , session ('user ' )['id ' ]);
96+
97+ Time::setTestNow ();
9698 }
9799
98100 public function testAfterLoggedInNotDesplayLoginPage (): void
@@ -151,6 +153,8 @@ public function testLoginActionUsernameSuccess(): void
151153
152154 // Session should have `logged_in` value with user's id
153155 $ this ->assertSame ($ this ->user ->id , session ('user ' )['id ' ]);
156+
157+ Time::setTestNow ();
154158 }
155159
156160 public function testLogoutAction (): void
You can’t perform that action at this time.
0 commit comments