Skip to content

Commit 4afc622

Browse files
committed
reset test time
1 parent 6ffbcc2 commit 4afc622

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/system/Router/Attributes/CacheTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ protected function setUp(): void
3939
Time::setTestNow('2026-01-10 12:00:00');
4040
}
4141

42+
protected function tearDown(): void
43+
{
44+
parent::tearDown();
45+
46+
Time::setTestNow();
47+
}
48+
4249
public function testConstructorDefaults(): void
4350
{
4451
$cache = new Cache();

0 commit comments

Comments
 (0)