Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_23_STABLE
-
w47_
MDL-36547_m24_sectiongen -
Easy
-
Description
phpunit_module_generator::precreate_course_module() takes an options array. One of the options is a section. The course_modules record needs a section record ID while add_mod_to_section() takes a section number (EG: 0,1,2,3,etc). Basically the activity is not added to the proper section's sequence.