-
Functional Test
-
Minor
-
Moodle 4.0
-
None
This test requires two student accounts and an admin account or sitewide manager account.
- Log in as an admin and create a system cohort, Cohort A, and add student 1 to it.
- Create a new course and enable self enrolment, choosing Cohort A in the 'Only cohort members' setting.
- Log in as student 1 and navigate to the course. Verify that as a member of Cohort A, you are able to self enrol.
- 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.