-
Task
-
Resolution: Fixed
-
Minor
-
4.1.12, 4.2.9, 4.3.6, 4.4.2, 4.5
QA test to be automated: MDLQA-144
Testing instructions
This test requires a course in which self-enrolment is allowed and for which an enrolment key has been set and 'Use group enrolment keys' is set to Yes.
- Log in as a teacher, access a course and follow the groups link either via the gear menu or the Administration block (depending upon your theme).
- Create a group and set a group enrolment key (make it different to the enrolment key).
- Log in as user1 (not yet enrolled in the course) and enrol in the course by supplying the course enrolment key.
- Log in as user2 (not yet enrolled in the course) and enrol in the course by supplying the group enrolment key.
- Log in as the teacher again, access the participants page and check that user2 is a member of the group whereas user1 is not.
Please note: this test is partially covered by "Self-enrolment enabled requiring a group enrolment key", so maybe that test can be updated to verify that user2 is member of a group and user1 is not.