MDL-71964 user: Fix preference lang string key

* Plus use example domain for user email in the Behat test
This commit is contained in:
Jun Pataleta 2021-09-23 14:10:05 +08:00
parent a2d5d43223
commit cb0b7fc9c5
2 changed files with 3 additions and 3 deletions

View File

@ -6,8 +6,8 @@ Feature: Welcome message
Scenario: Log in and being redirected to course page
Given the following "users" exist:
| username | password | firstname | lastname | email |
| wf | test | Fei | Wang | wf@z.com |
| username | password | firstname | lastname | email |
| wf | test | Fei | Wang | fei@example.com |
And the following "courses" exist:
| fullname | shortname |
| Math 101 | M1O1 |

View File

@ -180,7 +180,7 @@ class provider implements
$collection->add_user_preference(
'core_user_welcome',
'privacy:metadata:core_user:preference:core_user_welcome'
'privacy:metadata:user_preference:core_user_welcome'
);
return $collection;