From 30271d87aa01ac5bba334c81071c5a2aa8a914b8 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Thu, 12 Jun 2014 14:05:59 +0800 Subject: [PATCH] MDL-45808 enrol_self: Fixed behat to observe the group key policy --- enrol/self/tests/behat/self_enrolment.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/enrol/self/tests/behat/self_enrolment.feature b/enrol/self/tests/behat/self_enrolment.feature index a645544fbd1..07155446aa3 100644 --- a/enrol/self/tests/behat/self_enrolment.feature +++ b/enrol/self/tests/behat/self_enrolment.feature @@ -64,13 +64,13 @@ Feature: Users can auto-enrol themself in courses where self enrolment is allowe And I press "Create group" And I set the following fields to these values: | Group name | Group 1 | - | Enrolment key | testgroupenrolkey | + | Enrolment key | Test-groupenrolkey1 | And I press "Save changes" And I log out And I log in as "student1" And I follow "Course 1" And I set the following fields to these values: - | Enrolment key | testgroupenrolkey | + | Enrolment key | Test-groupenrolkey1 | And I press "Enrol me" Then I should see "Topic 1" And I should not see "Enrolment options"