diff --git a/mod/forum/tests/behat/no_groups_in_course.feature b/mod/forum/tests/behat/no_groups_in_course.feature index 53fa658c115..9a08719b20e 100644 --- a/mod/forum/tests/behat/no_groups_in_course.feature +++ b/mod/forum/tests/behat/no_groups_in_course.feature @@ -75,12 +75,12 @@ Feature: Posting to forums in a course with no groups behaves correctly Given I log in as "student1" And I am on "Course 1" course homepage When I follow "Separate forum" - Then I should see "You do not have permission to add a new discussion topic for all participants." + Then I should see "You are not able to create a discussion because you are not a member of any group." And I should not see "Add a new discussion topic" - Scenario: Teachers can post in forum with visible groups + Scenario: Students cannot post in forum with visible groups Given I log in as "student1" And I am on "Course 1" course homepage When I follow "Visible forum" - Then I should see "You do not have permission to add a new discussion topic for all participants." + Then I should see "You are not able to create a discussion because you are not a member of any group." And I should not see "Add a new discussion topic"