MDL-60548 tests: Get tests passing
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 11 Apr 2018 15:15:38 +0000 (17:15 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 11 Apr 2018 15:15:38 +0000 (17:15 +0200)
commit8c46d204a1a6ae628ba1654bd1f2ece51e5b57ff
tree9d605b03c820bdb43db3ee457da5420ac5123799
parent4af7042e6e4cb8a50608b94c5acab24867f5a009
MDL-60548 tests: Get tests passing

This includes:

- changing all usernames in feature to lowercase, for cross-db passing. Fixes:
  - user/tests/behat/set_email_display.feature
- ensure that course_enrolment_manager::get_potential_users() and
  external always returns user->maildisplay attribute, so email
  visibility can be calculated by user_get_user_details(). Fixes:
  - enrol/tests/behat/enrol_user.feature
  - blocks/news_items/tests/behat/display_news.feature
  - course/tests/behat/course_creation.feature
enrol/locallib.php
user/tests/behat/set_email_display.feature