Skip to content

Commit

Permalink
query
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Feb 11, 2025
1 parent e39167c commit a769cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/api/MiddlewareLanguageFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function discussions_are_filtered_by_language_parameter_frontend(string $

foreach ($languages as $code => $expectedTitle) {
$response = $this->send(
$this->request('GET', "/$route?language=$code")
$this->request('GET', "/$route")->withQueryParams(['language' => $code])
);

$this->assertEquals(200, $response->getStatusCode(), "Unexpected status code for language $code");
Expand Down

0 comments on commit a769cee

Please sign in to comment.