* Plus use example domain for user email in the Behat test
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 |
$collection->add_user_preference(
'core_user_welcome',
- 'privacy:metadata:core_user:preference:core_user_welcome'
+ 'privacy:metadata:user_preference:core_user_welcome'
);
return $collection;