-
Bug
-
Resolution: Fixed
-
Minor
-
2.5.8, 2.6.5, 2.7.2
-
MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
Difficult
-
The above fails with:
1) core_accesslib_testcase::test_context_comparisons
Warning: unexpected database modification, resetting DB state
Warning: unexpected change of $CFG->timezone value
Running the PHPUnit tests on just the file in question works:
vendor/bin/phpunit lib/tests/accesslib_test.php