Merge pull request #77 from NoelDeMartin/MOBILE-3833
MOBILE-3833 behat: Fix config overrides on reloadmain
commit
90b1b6b4f7
|
@ -555,6 +555,7 @@ class behat_app extends behat_base {
|
|||
// Prepare testing config.
|
||||
$configoverrides = json_encode($this->appconfig);
|
||||
|
||||
$this->evaluate_script("document.cookie='MoodleAppConfig=$configoverrides'");
|
||||
$this->evaluate_script("configProvider.patchEnvironment($configoverrides)");
|
||||
|
||||
// Continue only after JS finishes.
|
||||
|
|
Loading…
Reference in New Issue