Browse Source

Load apps in test situations

tags/v8.0.0alpha1
Robin McCorkell 10 years ago
parent
commit
b754a8261a
2 changed files with 4 additions and 2 deletions
  1. 0
    2
      apps/files_external/tests/mountconfig.php
  2. 4
    0
      tests/bootstrap.php

+ 0
- 2
apps/files_external/tests/mountconfig.php View File

@@ -20,8 +20,6 @@
*
*/

require_once __DIR__ . '/../../../lib/base.php';

class Test_Mount_Config_Dummy_Storage {
public function test() {
return true;

+ 4
- 0
tests/bootstrap.php 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');
}

Loading…
Cancel
Save