Details
-
Type:
Functional Test
-
Status: Passed
-
Priority:
Minor
-
Affects Version/s: Moodle 3.2
-
Fix Version/s: Moodle 3.2
-
Component/s: Cohorts, Enrolments, User
-
Labels:None
Description
This test requires two student accounts and an admin account or sitewide manager account.
1)Create a system cohort, Cohort A, and add student 1 to it.
2) Create a new course and enable self enrolment, choosing Cohort A in the 'Only cohort members' setting.
3) Log in as student 1 and navigate to the course. Verify that as a member of Cohort A, you are able to self enrol.
4) Log in as student 2 and navigate to the course. Verify that you cannot enrol in the course as you are not a member of Cohort A.