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

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.4
    • Component/s: Enrolments
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w40_MDL-35701_m24_enroldb

      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Dec/12