summaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-07-17 10:46:57 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-22 15:39:16 +0200
commitc0d1b6bfb2540d85b685d56aa2fb3e8ebe2ad549 (patch)
treed465a54e0e605e3cd9d27ffdf5d027944f7fd747 /tests/bootstrap.php
parent387638e31781dd2d0ec0448626fee66f13e5f5f4 (diff)
downloadnextcloud-server-c0d1b6bfb2540d85b685d56aa2fb3e8ebe2ad549.tar.gz
nextcloud-server-c0d1b6bfb2540d85b685d56aa2fb3e8ebe2ad549.zip
Load apps in test situations
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r--tests/bootstrap.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php
index 99374d68a5c..8dd7784d430 100644
--- a/tests/bootstrap.php
+++ b/tests/bootstrap.php
@@ -10,6 +10,10 @@ if ($configDir) {
require_once __DIR__ . '/../lib/base.php';
+// load minimum set of apps
+OC_App::loadApps(array('authentication'));
+OC_App::loadApps(array('filesystem', 'logging'));
+
if (!class_exists('PHPUnit_Framework_TestCase')) {
require_once('PHPUnit/Autoload.php');
}