-
Functional Test
-
Moodle 2.4
-
None
Prerequisite:
- You should know one user credential, who has admin role.
- You should know one user credential, who has manager role.
- Use course topic format for testing
Test 1:
- Login as admin
- Navigate to "Course default settings" (Settings -> Site administration -> Courses -> Course default settings)
- Change "Maximum for number of weeks/topicsmoodlecourse | maxsections" to 100
- Click save changes
- Check "Number of weeks/topicsmoodlecourse | numsections" drop-down and make sure it goes up-to 100
Test 2:
- Log in as manager
- Create a new course (Settings -> Site administration -> Courses -> Add/edit courses and click "Add a new course")
- Change "Number of weeks/topics" to 90 and enter required information
- Navigate to this course and make sure you have 90 sections.
Test 3:
- Log in as admin
- Navigate to "Course default settings" (Settings -> Site administration -> Courses -> Course default settings)
- Change "Maximum for number of weeks/topics moodlecourse | maxsections" to 0
- Click save changes
- Check "Number of weeks/topics moodlecourse | numsections" drop-down and make sure it only show 0
Test 4:
- Log in as manager
- Create a new course (Settings -> Site administration -> Courses -> Add/edit courses and click "Add a new course")
- Make sure you only see 0 for "Number of weeks/topics" and there is no way to change this.
- Navigate to this course and make sure only default section is present.
- is blocked by
-
MDL-36795 In the default course settings, numsections is not limited to maxsections
- Closed