summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-17 01:18:02 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-10-17 01:18:02 +0200
commit595b13f1e03a4300beee1396333a4b4337337df5 (patch)
tree29b420298e4ec82d0c5909567edae32c9bd2e34e /tests
parent77378fa1893267bbdd6ee2f7805a34c1d5b0977b (diff)
downloadnextcloud-server-595b13f1e03a4300beee1396333a4b4337337df5.tar.gz
nextcloud-server-595b13f1e03a4300beee1396333a4b4337337df5.zip
prevent the remaining ob_clean related errors
Diffstat (limited to 'tests')
-rw-r--r--tests/index.php2
-rw-r--r--tests/lib/filesystem.php2
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(){