Load apps in test situations
This commit is contained in:
parent
2a382a87d5
commit
b754a8261a
|
@ -20,8 +20,6 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once __DIR__ . '/../../../lib/base.php';
|
|
||||||
|
|
||||||
class Test_Mount_Config_Dummy_Storage {
|
class Test_Mount_Config_Dummy_Storage {
|
||||||
public function test() {
|
public function test() {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -10,6 +10,10 @@ if ($configDir) {
|
||||||
|
|
||||||
require_once __DIR__ . '/../lib/base.php';
|
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')) {
|
if (!class_exists('PHPUnit_Framework_TestCase')) {
|
||||||
require_once('PHPUnit/Autoload.php');
|
require_once('PHPUnit/Autoload.php');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue