We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba1716d commit 38bfd71Copy full SHA for 38bfd71
1 file changed
tests/system/Test/TestCaseEmissionsTest.php
@@ -46,16 +46,12 @@ public function testHeaderEmitted()
46
47
// send it
48
$response->setBody($body);
49
-
50
- ob_start();
51
$response->send();
52
- $output = ob_get_clean(); // what really was sent
+
53
// and what actually got sent?; test both ways
54
$actual = $response->getBody(); // what we thought was sent
55
56
$this->assertEquals($expected, $actual);
57
- $this->assertEquals($expected, $output);
58
59
$this->assertHeaderEmitted("Set-Cookie: foo=bar;");
60
$this->assertHeaderEmitted("set-cookie: FOO=bar", true);
61
}
0 commit comments