mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 09:42:15 +01:00
Fixed timezone problem in unit tests
This commit is contained in:
committed by
Constantin Graf
parent
8b50f33cc9
commit
78ea8a673b
@@ -31,6 +31,8 @@ abstract class TestCase extends BaseTestCase
|
||||
$mock->shouldReceive('getTrialUntil')->andReturn(null);
|
||||
$mock->shouldReceive('isBlocked')->andReturn(false);
|
||||
});
|
||||
// Note: The following line can be used to test timezone edge cases.
|
||||
// $this->travelTo(Carbon::now()->timezone('Europe/Vienna')->setHour(0)->setMinute(59)->setSecond(0));
|
||||
}
|
||||
|
||||
protected function mockPrivateStorage(): void
|
||||
|
||||
Reference in New Issue
Block a user