MDL-60485 modgrade: Change string expectation in related test
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 20 Oct 2017 16:55:40 +0000 (18:55 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 20 Oct 2017 16:57:31 +0000 (18:57 +0200)
lib/form/tests/behat/modgrade_validation.feature

index a5dd9f7..7884710 100644 (file)
@@ -185,7 +185,7 @@ Feature: Using the activity grade form element
     And I follow "Test forum name"
     And I navigate to "Edit settings" in current page administration
     When I expand all fieldsets
-    Then I should see "Some grades have already been awarded, so the grade type cannot be changed. If you wish to change the maximum grade, you must first choose whether or not to rescale existing grades."
+    Then I should see "You cannot change the type, as grades already exist for this item."
     And I set the field "Maximum grade" to "50"
     And I press "Save and display"
     And I should see "You cannot change the maximum grade when grades already exist for an activity with ratings"