MDL-56898 behat: Increase autosavefrequency for behat tests

We don't need editor to autosave, as this cause
unwanted ajax request
This commit is contained in:
Rajesh Taneja
2016-11-21 09:41:59 +08:00
parent afe2fcea3e
commit 2db00c9537
+3
View File
@@ -114,6 +114,9 @@ class behat_util extends testing_util {
// Enable web cron.
set_config('cronclionly', 0);
// Set editor autosave to high value, so as to avoid unwanted ajax.
set_config('autosavefrequency', '604800', 'editor_atto');
// Keeps the current version of database and dataroot.
self::store_versions_hash();