summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_external/tests/mountconfig.php2
-rw-r--r--tests/bootstrap.php4
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_external/tests/mountconfig.php b/apps/files_external/tests/mountconfig.php
index 5f958e00d93..7e38a87332b 100644
--- a/apps/files_external/tests/mountconfig.php
+++ b/apps/files_external/tests/mountconfig.php
@@ -20,8 +20,6 @@
*
*/
-require_once __DIR__ . '/../../../lib/base.php';
-
class Test_Mount_Config_Dummy_Storage {
public function test() {
return true;
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');
}