diff --git a/mod/choice/tests/behat/choice_availability.feature b/mod/choice/tests/behat/choice_availability.feature index 2fcd4c48b37..0ed93dbba96 100644 --- a/mod/choice/tests/behat/choice_availability.feature +++ b/mod/choice/tests/behat/choice_availability.feature @@ -33,7 +33,7 @@ Feature: Restrict availability of the choice module to a deadline When I log in as "student1" And I am on "Course 1" course homepage And I follow "Choice name" - Then I should see "Sorry, this activity is not available until" + Then I should see "This activity is not available until" Scenario: Enable the choice activity with a start deadline in the past Given I add a "Choice" to section "1" and I fill the form with: @@ -85,4 +85,4 @@ Feature: Restrict availability of the choice module to a deadline When I log in as "student1" And I am on "Course 1" course homepage And I follow "Choice name" - Then I should see "Sorry, this activity closed on" + Then I should see "This activity closed on"