From 644d0e2d97679df2dcdee5c948582efbc872b3d6 Mon Sep 17 00:00:00 2001 From: "Eloy Lafuente (stronk7)" Date: Tue, 8 Jan 2019 16:48:25 +0100 Subject: [PATCH] MDL-24951 mod_forum: Apply new string to related scenarios Plus amend an scenario name that was clearly incorrect. --- mod/forum/tests/behat/no_groups_in_course.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"