This test requires the manual enrolments plugin to be enabled by an administrator.
1. Login as a teacher, access the course and follow the manual enrolments link in Course administration > Users > Enrolment methods.
2. Check that the assign roles dropdown menu has options consistent with the checkboxes ticked by an administrator in 'Allow role assignments' i.e. by default, student and non-editing teacher.
3. Try selecting a user and assigning them the role of student, then selecting a different user and assigning them the role of non-editing teacher.
4. Access the course participants page and check that the users are correctly enrolled in the course.