-
Bug
-
Resolution: Fixed
-
Minor
-
2.8.7, 2.9.1, 3.0
-
MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_30_STABLE
-
MOODLE_28_STABLE, MOODLE_29_STABLE
-
wip-mdl-51266
-
- Check if changes make sense.
- Check nightly results
- grep for given api's and make sure they are not used other then advanced_testcase and database_driver_testcase.
While reviewing MDL-46239 it was detected that various "low level" phpunit_util::xxxxx() methods were being used in testcases.
Looking globally lots of those uses were found, for example:
$ ag 'reset_debugging|get_debugging_messages' | wc -l
|
72
|
This issue is about to replace all them by the higher level extra function available @ advanced_testcase. Reference:
https://docs.moodle.org/dev/PHPUnit_integration#Extra_methods
Ciao
- has been marked as being related by
-
MDL-46239 Scheduled task manager does not properly handle timezones
- Closed