diff --git a/tests/Tests/LocalesResolvers/HeaderTest.phpt b/tests/Tests/LocalesResolvers/HeaderTest.phpt index e521b2b..4a44e2b 100644 --- a/tests/Tests/LocalesResolvers/HeaderTest.phpt +++ b/tests/Tests/LocalesResolvers/HeaderTest.phpt @@ -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);