Load apps in test situations

This commit is contained in:
Robin McCorkell 2014-07-17 10:46:57 +01:00 committed by Thomas Müller
parent 2a382a87d5
commit b754a8261a
2 changed files with 4 additions and 2 deletions

View File

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

View File

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