summaryrefslogtreecommitdiffstats
path: root/tests/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/index.php')
-rw-r--r--tests/index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/index.php b/tests/index.php
index efa730f6f8f..08e53f1a575 100644
--- a/tests/index.php
+++ b/tests/index.php
@@ -26,6 +26,7 @@
*/
$RUNTIME_NOSETUPFS=true;
require_once('../lib/base.php');
+OC_Util::checkAdminUser();
$testCases=loadFiles(__DIR__,array('index.php','templates'));
ob_end_clean();
@@ -74,4 +75,4 @@ function loadFiles($path,$exclude=false){
}
return $results;
}
-?> \ No newline at end of file
+?>