-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.7
-
MOODLE_28_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
MDL-51007-master -
The unit test availability/tests/component_test.php (which I wrote...) fails if additional availability restriction plugins are installed.
This does not affect core because the list is correct for the availability plugins included in core. However, it means this core unit test fails if run on a system that has extra third-party plugins installed.
I think the test should be changed to still check that the core plugins are present, but without checking that nothing else is.