-
Bug
-
Resolution: Won't Do
-
Minor
-
None
-
3.2.1
Behat test "Restore a backup in an existing course retaining the backup course settings" is asserting wrong behavior.
When backup of one course is merged into another course the visibility of existing sections should not be changed. However this test asserts that it was changed.
The reason why it happens is because sections for the target course were never created - they are only created during the first visit to the course.
In MDL-57769 I change the create_course function to force it to create all sections during course creation and this test started failing. I don't know if/when MDL-57769 will be accepted to core so I'm creating a new issue about the behat error
- has been marked as being related by
-
MDL-57769 Remove 'numsections' from topics and weeks, allow teachers to create and delete sections as they are needed
- Closed