Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-34696 enrol improvements 2.4 META
  3. MDL-35701

Add unit tests, cleanup and add restore support for enrol_database

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • Enrolments
    • MOODLE_23_STABLE
    • MOODLE_24_STABLE
    • w40_MDL-35701_m24_enroldb
    • Hide

      Test everything related to enrol_database:

      1/ execute phpunit tests for all supported databases
      2/ backup course with users enrolled via enrol_database plugin
      3/ try restore on the same and different site with different "External unernol actions" or when plugin disabled

      Show
      Test everything related to enrol_database: 1/ execute phpunit tests for all supported databases 2/ backup course with users enrolled via enrol_database plugin 3/ try restore on the same and different site with different "External unernol actions" or when plugin disabled

    Description

      This issues resolves following:

      • add unit tests for enrol_database sync methods
      • cleanup coding style and inline docs
      • full restore support
      • fix inability to specify uppercase columns for external databases with case sensitive column names (this requires a warning in release notes)

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Adrian Greeve Adrian Greeve
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Dec/12