MOBILE-4110 behat: Fix configuration overrides
parent
a0363deb6a
commit
9d1d41348f
|
@ -75,7 +75,7 @@ export class TestingBehatRuntime {
|
||||||
if (options.configOverrides) {
|
if (options.configOverrides) {
|
||||||
// Set the cookie so it's maintained between reloads.
|
// Set the cookie so it's maintained between reloads.
|
||||||
document.cookie = 'MoodleAppConfig=' + JSON.stringify(options.configOverrides);
|
document.cookie = 'MoodleAppConfig=' + JSON.stringify(options.configOverrides);
|
||||||
CoreConfig.patchEnvironment(options.configOverrides);
|
CoreConfig.patchEnvironment(options.configOverrides, { patchDefault: true });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue