-
Bug
-
Resolution: Fixed
-
Minor
-
3.5.4, 3.6.2, 3.7
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
mod_collaborate has a unit test that does exactly this. And it fails with:
1) mod_collaborate_recording_counter_testcase::test_get_recording_counts
Error: Class 'PHPUnit\DbUnit\DataSet\DefaultTableMetaData' not found
/home/marcus/workspace/latrobe/lib/phpunit/classes/arraydataset.php:61
/home/marcus/workspace/latrobe/lib/phpunit/classes/advanced_testcase.php:190
/home/marcus/workspace/latrobe/mod/collaborate/tests/recording_counter_test.php:56
/home/marcus/workspace/latrobe/lib/phpunit/classes/advanced_testcase.php:80
To re-run: vendor/bin/phpunit "mod_collaborate_recording_counter_testcase" mod/collaborate/tests/recording_counter_test.php
We first thought the issue was with a non-properly installed DbUnit but upon digging further, it's a typo in core which is causing this issue.
- Testing discovered
-
MDL-64600 Prepare for removal of PHPUnit/DbUnit
- Closed