MDL-54901 phpunit: Change phpunit wwwroot to HTTPS and fix tests
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 18 Apr 2017 00:08:03 +0000 (02:08 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 18 Apr 2017 01:40:17 +0000 (03:40 +0200)
commit55946a892a19753a5223f28540cde011b5f0428c
tree5883dfd821adc3a4b3d8519d2fa4a514bb667528
parent6e6a768c15acb929171c94d368a2980c75035dce
MDL-54901 phpunit: Change phpunit wwwroot to HTTPS and fix tests

This includes:

- Changing PHPUnit's bootstrap to use https://www...
- Modify all existing expectations to the new wwwroot.
- Amend some tests now with different defaults because of is_https()
- Added a note to main upgrade.php about the change.
14 files changed:
admin/tool/mobile/tests/externallib_test.php
enrol/lti/tests/helper_test.php
files/tests/externallib_test.php
filter/emoticon/tests/filter_test.php
lib/outputrequirementslib.php
lib/phpunit/bootstrap.php
lib/tests/configonlylib_test.php
lib/tests/filter_manager_test.php
lib/tests/moodlelib_test.php
lib/tests/outputcomponents_test.php
lib/tests/setuplib_test.php
lib/tests/weblib_format_text_test.php
lib/upgrade.txt
mod/forum/tests/mail_test.php