From c27077be00966c102ac6376ebfbf1c7c77977863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1?= Date: Wed, 20 Mar 2024 10:53:12 +0100 Subject: [PATCH] header test fix (#128) --- tests/Tests/LocalesResolvers/HeaderTest.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Tests/LocalesResolvers/HeaderTest.phpt b/tests/Tests/LocalesResolvers/HeaderTest.phpt index e521b2b8..4a44e2b9 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);