Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@karoshi.org.uk>2014-07-17 13:46:57 +0400
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-10 19:28:25 +0400
commitb754a8261aac7308202e21217dd9a8a3a9010a8b (patch)
tree4deb8b9684282ae9b230630467dae7a0c276d3ce /tests/bootstrap.php
parent2a382a87d5d256b1edaaf7b5b948c63ec25244a9 (diff)
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');
}