MDL-37046 behat: Using moodle composer
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ if (!isset($CFG->test_wwwroot)) {
|
||||
}
|
||||
|
||||
// Switch to test site only when test environment is enabled.
|
||||
if ((php_sapi_name() === 'cli-server' || defined('BEHAT_RUNNING')) &&
|
||||
if ((php_sapi_name() === 'cli-server' || defined('BEHAT_RUNNING')) &&
|
||||
file_exists($CFG->dataroot . '/behat/test_environment_enabled.txt')) {
|
||||
$CFG->wwwroot = $CFG->test_wwwroot;
|
||||
$CFG->passwordsaltmain = 'phpunit';
|
||||
|
||||
Reference in New Issue
Block a user