Skip to content

Commit 42d78d5

Browse files
committed
fix
1 parent 7ec9e5c commit 42d78d5

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- Enh #150: Cleanup templates, remove legacy code (@vjik)
66
- New #151: Add `$traceLink` parameter to `HtmlRenderer` to allow linking to trace files (@vjik)
7-
- New #152: Add `UserExceptionInterface` to mark user exceptions (@vjik)
7+
- New #153: Add `UserExceptionInterface` to mark user exceptions (@vjik)
88

99
## 4.1.0 April 18, 2025
1010

tests/Factory/ThrowableResponseFactoryTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,8 @@ public function testHandleWithHeadRequestMethod(): void
3232
$this->createThrowable(),
3333
$this->createServerRequest('HEAD', ['Accept' => ['test/html']])
3434
);
35-
$response
36-
->getBody()
37-
->rewind();
38-
$content = $response
39-
->getBody()
40-
->getContents();
35+
$response->getBody()->rewind();
36+
$content = $response->getBody()->getContents();
4137

4238
$this->assertEmpty($content);
4339
$this->assertSame([HeaderRenderer::DEFAULT_ERROR_MESSAGE], $response->getHeader('X-Error-Message'));

0 commit comments

Comments
 (0)