mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 20:52:14 +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
|
// Act
|
||||||
$response = $this->getJson(route('api.v1.time-entries.index', [
|
$response = $this->getJson(route('api.v1.time-entries.index', [
|
||||||
$data->organization->getKey(),
|
$data->organization->getKey(),
|
||||||
'only_full_dates' => true,
|
'only_full_dates' => 'true',
|
||||||
'limit' => 5,
|
'limit' => 5,
|
||||||
'user_id' => $data->user->getKey(),
|
'user_id' => $data->user->getKey(),
|
||||||
]));
|
]));
|
||||||
@@ -192,7 +192,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
|
|||||||
// Act
|
// Act
|
||||||
$response = $this->getJson(route('api.v1.time-entries.index', [
|
$response = $this->getJson(route('api.v1.time-entries.index', [
|
||||||
$data->organization->getKey(),
|
$data->organization->getKey(),
|
||||||
'only_full_dates' => true,
|
'only_full_dates' => 'true',
|
||||||
'limit' => 5,
|
'limit' => 5,
|
||||||
'user_id' => $data->user->getKey(),
|
'user_id' => $data->user->getKey(),
|
||||||
]));
|
]));
|
||||||
@@ -216,7 +216,7 @@ class TimeEntryEndpointTest extends ApiEndpointTestAbstract
|
|||||||
// Act
|
// Act
|
||||||
$response = $this->getJson(route('api.v1.time-entries.index', [
|
$response = $this->getJson(route('api.v1.time-entries.index', [
|
||||||
$data->organization->getKey(),
|
$data->organization->getKey(),
|
||||||
'only_full_dates' => true,
|
'only_full_dates' => 'true',
|
||||||
'limit' => 5,
|
'limit' => 5,
|
||||||
'user_id' => $data->user->getKey(),
|
'user_id' => $data->user->getKey(),
|
||||||
]));
|
]));
|
||||||
|
|||||||
Reference in New Issue
Block a user