Skip to content

Commit 9e883d7

Browse files
committed
test: reset current time in tear down
1 parent fcf9b17 commit 9e883d7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/system/I18n/TimeTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ protected function tearDown(): void
4343
parent::tearDown();
4444

4545
Locale::setDefault($this->currentLocale);
46+
47+
// Reset current time.
48+
Time::setTestNow();
4649
}
4750

4851
public function testNewTimeNow()

0 commit comments

Comments
 (0)