Load apps in test situations

remotes/origin/fix-10825
Robin McCorkell 10 years ago committed by Thomas Müller
parent 2a382a87d5
commit b754a8261a

@ -20,8 +20,6 @@
*
*/
require_once __DIR__ . '/../../../lib/base.php';
class Test_Mount_Config_Dummy_Storage {
public function test() {
return true;

@ -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');
}

Loading…
Cancel
Save