mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
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 noreply@example.com, to avoid failing validation on localhost
This commit is contained in:
parent
b6f5e57e45
commit
1024f6d1ec
1 changed files with 3 additions and 0 deletions
|
@ -117,6 +117,9 @@ class behat_util extends testing_util {
|
||||||
// Set editor autosave to high value, so as to avoid unwanted ajax.
|
// Set editor autosave to high value, so as to avoid unwanted ajax.
|
||||||
set_config('autosavefrequency', '604800', 'editor_atto');
|
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.
|
// Keeps the current version of database and dataroot.
|
||||||
self::store_versions_hash();
|
self::store_versions_hash();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue