$testRoot]); codecept_debug('Module root: ' . $testRoot); $humhubPath = getenv('HUMHUB_PATH'); if ($humhubPath === false) { $moduleConfig = require $testRoot . '/config/test.php'; if (isset($moduleConfig['humhub_root'])) { $humhubPath = $moduleConfig['humhub_root']; } else { $humhubPath = dirname(__DIR__, 5); } } \Codeception\Configuration::append(['humhub_root' => $humhubPath]); codecept_debug('HumHub Root: ' . $humhubPath); $globalConfig = require $humhubPath . '/protected/humhub/tests/codeception/_loadConfig.php'; require $globalConfig['humhub_root'] . '/protected/humhub/tests/codeception/_bootstrap.php';