Skip to content

Commit

Permalink
header test fix (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleswita authored Mar 20, 2024
1 parent 81e2300 commit c27077b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Tests/LocalesResolvers/HeaderTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ final class HeaderTest extends TestAbstract
array $availableLocales
): ?string
{
$request = new Request(new UrlScript(), null, null, null, ['Accept-Language' => $locale]);
$request = new Request(new UrlScript(), headers: ['Accept-Language' => $locale]);
$resolver = new Header($request);
$translatorMock = Mockery::mock(Translator::class);

Expand Down

0 comments on commit c27077b

Please sign in to comment.