mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-10 17:22:15 +01:00
Fixed timezones in unit tests
This commit is contained in:
committed by
Constantin Graf
parent
895540d0a9
commit
e90fa8307f
@@ -261,7 +261,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
|
||||
{
|
||||
// Arrange
|
||||
$now = Carbon::create(2024, 1, 1, 12, 0, 0, 'Europe/Vienna');
|
||||
$this->freezeTime($now);
|
||||
$this->travelTo($now);
|
||||
$data = $this->createUserWithPermission([
|
||||
'time-entries:view:own',
|
||||
]);
|
||||
@@ -310,7 +310,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
|
||||
{
|
||||
// Arrange
|
||||
$now = Carbon::create(2024, 1, 1, 12, 0, 0, 'Europe/Vienna');
|
||||
$this->freezeTime($now);
|
||||
$this->travelTo($now);
|
||||
$data = $this->createUserWithPermission([
|
||||
'time-entries:view:own',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user