mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-11 17:52:15 +01:00
fix time entry endpoint tests to represent string based only_full_dates query parameter
This commit is contained in:
@@ -165,7 +165,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
|
||||
// Act
|
||||
$response = $this->getJson(route('api.v1.time-entries.index', [
|
||||
$data->organization->getKey(),
|
||||
'only_full_dates' => true,
|
||||
'only_full_dates' => 'true',
|
||||
'limit' => 5,
|
||||
'user_id' => $data->user->getKey(),
|
||||
]));
|
||||
@@ -192,7 +192,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
|
||||
// Act
|
||||
$response = $this->getJson(route('api.v1.time-entries.index', [
|
||||
$data->organization->getKey(),
|
||||
'only_full_dates' => true,
|
||||
'only_full_dates' => 'true',
|
||||
'limit' => 5,
|
||||
'user_id' => $data->user->getKey(),
|
||||
]));
|
||||
@@ -216,7 +216,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
|
||||
// Act
|
||||
$response = $this->getJson(route('api.v1.time-entries.index', [
|
||||
$data->organization->getKey(),
|
||||
'only_full_dates' => true,
|
||||
'only_full_dates' => 'true',
|
||||
'limit' => 5,
|
||||
'user_id' => $data->user->getKey(),
|
||||
]));
|
||||
|
||||
Reference in New Issue
Block a user