Skip to content

Commit 6549e85

Browse files
test(errors): update fallback debug test to expect HTML output instead of plain text after renderer change
1 parent 145d581 commit 6549e85

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/SmartExceptionHandlerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ public function testFallbackDebugOutputWhenRendererFails(): void
6161
$response = $handler->handle(new RuntimeException('Crash'));
6262

6363
self::assertInstanceOf(Response::class, $response);
64+
self::assertSame(500, $response->getStatusCode());
65+
self::assertStringContainsString('<html', (string)$response);
6466
self::assertStringContainsString('Crash', (string)$response);
65-
self::assertStringContainsString('RuntimeException', (string)$response);
6667
}
6768
}

0 commit comments

Comments
 (0)