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"