Skip to content

Commit 38bfd71

Browse files
committed
Debugging testcase emissions
1 parent ba1716d commit 38bfd71

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/system/Test/TestCaseEmissionsTest.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,12 @@ public function testHeaderEmitted()
4646

4747
// send it
4848
$response->setBody($body);
49-
50-
ob_start();
5149
$response->send();
52-
$output = ob_get_clean(); // what really was sent
50+
5351
// and what actually got sent?; test both ways
5452
$actual = $response->getBody(); // what we thought was sent
5553

5654
$this->assertEquals($expected, $actual);
57-
$this->assertEquals($expected, $output);
58-
5955
$this->assertHeaderEmitted("Set-Cookie: foo=bar;");
6056
$this->assertHeaderEmitted("set-cookie: FOO=bar", true);
6157
}

0 commit comments

Comments
 (0)