diff --git a/mod/assign/lang/en/assign.php b/mod/assign/lang/en/assign.php index 94801299752..5bed674f145 100644 --- a/mod/assign/lang/en/assign.php +++ b/mod/assign/lang/en/assign.php @@ -195,8 +195,8 @@ $string['expandreviewpanel'] = 'Expand review panel'; $string['extensionduedate'] = 'Extension due date'; $string['extensionnotafterduedate'] = 'Extension date must be after the due date'; $string['extensionnotafterfromdate'] = 'Extension date must be after the allow submissions from date'; -$string['fixrescalednullgrades'] = 'This assignment contains some erroneous grades. You can automatically repair these grades. This may affect course totals.'; -$string['fixrescalednullgradesconfirm'] = 'Are you sure you want to fix erroneous grades? All broken grades will be removed. This may affect course totals.'; +$string['fixrescalednullgrades'] = 'This assignment contains some erroneous grades. You can automatically fix these grades. This may affect course totals.'; +$string['fixrescalednullgradesconfirm'] = 'Are you sure you want to fix erroneous grades? All affected grades will be removed. This may affect course totals.'; $string['fixrescalednullgradesdone'] = 'Grades fixed.'; $string['gradecanbechanged'] = 'Grade can be changed'; $string['gradersubmissionupdatedtext'] = '{$a->username} has updated their assignment submission diff --git a/mod/assign/tests/behat/rescale_grades.feature b/mod/assign/tests/behat/rescale_grades.feature index ab0c35f2af2..f02ee722e4a 100644 --- a/mod/assign/tests/behat/rescale_grades.feature +++ b/mod/assign/tests/behat/rescale_grades.feature @@ -84,6 +84,5 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c And I set the field "Maximum grade" to "50" When I press "Save and display" And I navigate to "View all submissions" in current page administration - # Since the decimal places are always displayed (e.g. 0.00), this will catch any grade. The student should not have one. - # We can't just check for - (empty grade) because a negative grade would also have that character. - Then "Student 2" row "Grade" column of "generaltable" table should not contain "." + # Make sure the student did not receive a negative grade. + Then "Student 2" row "Grade" column of "generaltable" table should not contain "-0.50"