Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-36547

Module not added to section for unit test generation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.3.4
    • Unit tests

    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.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              bushido Mark Nielsen
              Dan Poltawski Dan Poltawski
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Jan/13