mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-71964 user: Fix preference lang string key
* Plus use example domain for user email in the Behat test
This commit is contained in:
parent
a2d5d43223
commit
cb0b7fc9c5
@ -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 |
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user