diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/index.php | 2 | ||||
-rw-r--r-- | tests/lib/filesystem.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/index.php b/tests/index.php index 08e53f1a575..34e1d4166ce 100644 --- a/tests/index.php +++ b/tests/index.php @@ -29,7 +29,7 @@ require_once('../lib/base.php'); OC_Util::checkAdminUser(); $testCases=loadFiles(__DIR__,array('index.php','templates')); -ob_end_clean(); +@ob_end_clean(); $testResults=array(); foreach($testCases as $testCaseClass){ $testCase=new $testCaseClass(); diff --git a/tests/lib/filesystem.php b/tests/lib/filesystem.php index 4bfa23884f4..43cf2e53f3f 100644 --- a/tests/lib/filesystem.php +++ b/tests/lib/filesystem.php @@ -87,7 +87,7 @@ class OC_FILEYSYSTEM_Test extends OC_TestCase ob_start(); OC_Filesystem::readfile('/dummy'); $this->assertEquals('foo', ob_get_contents(),'Unexpected output of readfile'); - ob_end_clean(); + @ob_end_clean(); } public function isReadable(){ |