Skip to content

Commit ea61547

Browse files
committed
Test fix
Signed-off-by: alexmerlin <alex.merlin.1985@gmail.com>
1 parent ac727b7 commit ea61547

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/LogErrorHandlerTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ public function testLogErrorHandlerLogsWillContainExtraKeysWhenProvidersAreEnabl
178178
);
179179

180180
$this->serverRequest->method('getCookieParams')->willReturn([]);
181+
$this->serverRequest->method('getHeader')->willReturn([]);
182+
$this->serverRequest->method('getParsedBody')->willReturn([]);
183+
$this->serverRequest->method('getServerParams')->willReturn([]);
181184

182185
$extra = $logErrorHandler->provideExtra(new \Exception('test'), $this->serverRequest);
183186

0 commit comments

Comments
 (0)