We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 417c10b commit 27e6f4cCopy full SHA for 27e6f4c
tests/BrowserKitBrowserTests.php
@@ -271,6 +271,22 @@ public function can_dump_json_response_as_array(): void
271
$this->assertStringContainsString(' "foo": "bar"', $output[0]);
272
}
273
274
+ /**
275
+ * @test
276
+ */
277
+ public function dump_includes_headers_and_status(): void
278
+ {
279
+ $output = self::catchVarDumperOutput(function() {
280
+ $this->browser()
281
+ ->visit('/page1')
282
+ ->dump()
283
+ ;
284
+ });
285
+
286
+ $this->assertStringContainsString('(200)', $output[0]);
287
+ $this->assertStringContainsString('content-type: text/html;', $output[0]);
288
+ }
289
290
/**
291
* @test
292
*/
0 commit comments