From ac727b7bd4c3e403eda0877aabf2bb344d455a27 Mon Sep 17 00:00:00 2001 From: alexmerlin Date: Thu, 20 Feb 2025 11:08:11 +0200 Subject: [PATCH] Test fix Signed-off-by: alexmerlin --- test/LogErrorHandlerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/LogErrorHandlerTest.php b/test/LogErrorHandlerTest.php index b48598a..f0e3522 100644 --- a/test/LogErrorHandlerTest.php +++ b/test/LogErrorHandlerTest.php @@ -177,6 +177,8 @@ public function testLogErrorHandlerLogsWillContainExtraKeysWhenProvidersAreEnabl ]) ); + $this->serverRequest->method('getCookieParams')->willReturn([]); + $extra = $logErrorHandler->provideExtra(new \Exception('test'), $this->serverRequest); $this->assertCount(8, $extra);