Skip to content

Commit

Permalink
Clean up stdout in view test.
Browse files Browse the repository at this point in the history
PHPUnit flushes all open output buffers causing output to leak.
  • Loading branch information
markstory committed Nov 1, 2013
1 parent 99257ac commit fb55f89
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Cake/Test/TestCase/View/ViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1483,9 +1483,6 @@ public function testNestedBlocks() {
*/
public function testStartBlocksTwice() {
$this->View->start('first');
echo 'In first ';
$this->View->start('second');
echo 'In second';
$this->View->start('first');
}

Expand Down

0 comments on commit fb55f89

Please sign in to comment.