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);