From dca48f9b5e3537864b4a0517f01c1625e6032633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1?= Date: Wed, 20 Mar 2024 10:51:01 +0100 Subject: [PATCH] Update HeaderTest.phpt --- 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);