Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.5.4, 3.6.2, 3.7
-
Component/s: Unit tests
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
Fixed Branches:MOODLE_35_STABLE, MOODLE_36_STABLE
-
Pull from Repository:
-
Pull 3.5 Branch:M3.5-
MDL-64599 -
Pull 3.5 Diff URL:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
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.
Attachments
Issue Links
- Testing discovered
-
MDL-64600 Prepare for removal of PHPUnit/DbUnit
-
- Closed
-