forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-73278 phpunit: Add missing payment subsystem and fix dataprovider
While testing the changed unit tests one by one, the payment/tests/helper_test.php was failing because of a mismatch between the dataProvider data and the param type. That made me think why that error was not popping in complete runs and the answer is that the new (3.10) subsystem is not in the phpunit.xml.dist file. Hence, adding it and fixing the dataProvider mismatch. Finally, it has been detected that some old ICU versions (< 62) have an incorrect behaviour, not adding the required non-breaking white-space between the currency abbreviation and the value. So we are skipping some payment tests if that's found.
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters