Skip to content

Commit

Permalink
fix time entry endpoint tests to represent string based only_full_dat…
Browse files Browse the repository at this point in the history
…es query parameter
  • Loading branch information
Gregor Vostrak authored and Gregor Vostrak committed Mar 27, 2024
1 parent ad7751a commit e5b1dab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/Unit/Endpoint/Api/V1/TimeEntryEndpointTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public function test_index_endpoint_filter_only_full_dates_returns_time_entries_
// 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(),
]));
Expand All @@ -192,7 +192,7 @@ public function test_index_endpoint_filter_only_full_dates_returns_time_entries_
// 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(),
]));
Expand All @@ -216,7 +216,7 @@ public function test_index_endpoint_filter_only_full_dates_returns_time_entries_
// 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(),
]));
Expand Down

0 comments on commit e5b1dab

Please sign in to comment.