diff --git a/lib/behat/classes/util.php b/lib/behat/classes/util.php index b2118655ed0..09cf9ccd8b9 100644 --- a/lib/behat/classes/util.php +++ b/lib/behat/classes/util.php @@ -117,6 +117,9 @@ class behat_util extends testing_util { // Set editor autosave to high value, so as to avoid unwanted ajax. set_config('autosavefrequency', '604800', 'editor_atto'); + // Set noreplyaddress to an example domain, as it should be valid email address and test site can be a localhost. + set_config('noreplyaddress', 'noreply@example.com'); + // Keeps the current version of database and dataroot. self::store_versions_hash();