-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.0.2, 2.0.3
-
None
-
MySQL
-
MOODLE_20_STABLE
-
- Set your language to Français (fr)
- Go to Administration du site > Développement > Tests
- Click on the button Lancer les tests
3 assertions fail for the simpletest grade/simpletest/testedittree.php when language is set to Français (fr) because the test doesn't change the decimal point (".") to a comma "," (See attachment).
The clean way to fix it :
'/moodle/grade/simpletest/testedittree.php' |
// Orignal line
|
$this->assertEqual(grade_edit_tree::format_number($numinput[$i]),$numoutput[$i],$msg);
|
// Fixed line
|
$this->assertEqual(grade_edit_tree::format_number($numinput[$i]),grade_edit_tree::format_number($numoutput[$i]),$msg);
|
- duplicates
-
MDL-30307 Errors in unit tests when language is not English (EN)
-
- Closed
-