MOBILE-4110 behat: Fix configuration overrides

main
Noel De Martin 2022-06-29 12:17:57 +02:00
parent a0363deb6a
commit 9d1d41348f
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export class TestingBehatRuntime {
if (options.configOverrides) {
// Set the cookie so it's maintained between reloads.
document.cookie = 'MoodleAppConfig=' + JSON.stringify(options.configOverrides);
CoreConfig.patchEnvironment(options.configOverrides);
CoreConfig.patchEnvironment(options.configOverrides, { patchDefault: true });
}
}