MDL-64285 core: Fix environment check test
authorJun Pataleta <jun@moodle.com>
Fri, 30 Nov 2018 06:55:54 +0000 (14:55 +0800)
committerJun Pataleta <jun@moodle.com>
Fri, 14 Dec 2018 03:13:40 +0000 (11:13 +0800)
commitc482e6bd512251bfa60845bd50a9f91c76edc579
tree5663c2327074feeb81b8a75cd7241e487d05cf77
parent33a388eff737c049786ee42d7430db549568471c
MDL-64285 core: Fix environment check test

* Looping the environment results and skipping some items mean that
if a test gets skipped, the rest of the environment results won't be
tested. It's better to use a data provider for this in order to
individually test each environment result.
lib/tests/environment_test.php