MDL-57531 behat: Set noreplyaddress to valid address
noreplyaddress should be a valid address, else it will not be saved. For behat we don't send email, so set it to [email protected], to avoid failing validation on localhost
This commit is contained in:
committed by
Dan Poltawski
parent
7815c64b0c
commit
3f3e62e4fc
@@ -111,6 +111,9 @@ class behat_util extends testing_util {
|
||||
// Disable some settings that are not wanted on test sites.
|
||||
set_config('noemailever', 1);
|
||||
|
||||
// Set noreplyaddress to an example domain, as it should be valid email address and test site can be a localhost.
|
||||
set_config('noreplyaddress', '[email protected]');
|
||||
|
||||
// Keeps the current version of database and dataroot.
|
||||
self::store_versions_hash();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user