From b754a8261aac7308202e21217dd9a8a3a9010a8b Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Thu, 17 Jul 2014 10:46:57 +0100 Subject: [PATCH] Load apps in test situations --- apps/files_external/tests/mountconfig.php | 2 -- tests/bootstrap.php | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/files_external/tests/mountconfig.php b/apps/files_external/tests/mountconfig.php index 8a49401a07b..ac010464faa 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'); } -- 2.39.5