-
Improvement
-
Resolution: Done
-
Minor
-
None
-
3.7
-
None
-
MOODLE_37_STABLE
DbUnit was deprecated recently https://github.com/sebastianbergmann/dbunit/issues/217
We need to prepare for its pending removal upon the release of PHPUnit 8.
The only uses are:
- Directly:
- lib/phpunit/classes/arraydataset.php
- lib/tests/statslib_test.php
- advanced_testcase::createFlatXMLDataSet
(Unused in core) - advanced_testcase::createXMLDataSet
- lib/tests/statslib_test.php
- advanced_testcase::createCsvDataSet
- mod/quiz/tests/attempt_walkthrough_from_csv_test.php
- mod/data/tests/search_test.php
- advanced_testcase::loadDataSet
- mod/data/tests/search_test.php
- advanced_testcase::createArrayDataSet
(Unused in core) - References to DbUnit:
- mod/quiz/report/responses/tests/responses_from_steps_walkthrough_test.php
- mod/quiz/report/statistics/tests/stats_from_steps_walkthrough_test.php
- mod/quiz/tests/attempt_walkthrough_from_csv_test.php
Pinging timhunt for your info on this .
- Discovered while testing
-
MDL-64599 Any unit test that calls createArrayDataSet() fails
- Closed
- has a non-specific relationship to
-
MDL-69882 Final deprecation of phpunit/dbunit methods in advanced_testcase
- Closed
- will be (partly) resolved by
-
MDL-67673 Upgrade phpunit to 8.5.x
- Closed
- will help resolve
-
MDL-66259 Should all qtype get_question_options() call parent ?
- Closed