Skip to content

Commit 072d5b7

Browse files
committed
~workaround for buffer problem
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
1 parent 8ca894a commit 072d5b7

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

tests/system/CodeIgniterTest.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@ public function setUp()
3131
$this->codeigniter = new MockCodeIgniter($config);
3232
}
3333

34+
public function tearDown()
35+
{
36+
parent::tearDown();
37+
38+
if( count( ob_list_handlers() ) > 1 )
39+
{
40+
ob_end_clean();
41+
}
42+
}
43+
3444
//--------------------------------------------------------------------
3545

3646
public function testRunDefaultRoute()

0 commit comments

Comments
 (0)