diff options
author | Robin McCorkell <rmccorkell@karoshi.org.uk> | 2014-07-17 10:46:57 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-09-10 17:28:25 +0200 |
commit | b754a8261aac7308202e21217dd9a8a3a9010a8b (patch) | |
tree | 4deb8b9684282ae9b230630467dae7a0c276d3ce /tests | |
parent | 2a382a87d5d256b1edaaf7b5b948c63ec25244a9 (diff) | |
download | nextcloud-server-b754a8261aac7308202e21217dd9a8a3a9010a8b.tar.gz nextcloud-server-b754a8261aac7308202e21217dd9a8a3a9010a8b.zip |
Load apps in test situations
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bootstrap.php | 4 |
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'); } |