|
@@ -10,10 +10,10 @@ |
|
|
block discarded – undo |
|
10
|
10
|
codecept_debug('Module root: ' . $testRoot); |
|
11
|
11
|
|
|
12
|
12
|
$humhubPath = getenv('HUMHUB_PATH'); |
|
13
|
|
-if ($humhubPath === false) { |
|
|
13
|
+if ( $humhubPath === false ) { |
|
14
|
14
|
// If no environment path was set, we assume residing in default the modules directory |
|
15
|
15
|
$moduleConfig = require $testRoot . '/config/test.php'; |
|
16
|
|
- if (isset($moduleConfig['humhub_root'])) { |
|
|
16
|
+ if ( isset($moduleConfig['humhub_root']) ) { |
|
17
|
17
|
$humhubPath = $moduleConfig['humhub_root']; |
|
18
|
18
|
} else { |
|
19
|
19
|
$humhubPath = dirname(__DIR__, 5); |
Please login to merge, or discard this patch.