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

Add unit tests to ensure gradebook history tables remain in step with the main tables

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1
    • Fix Version/s: DEV backlog
    • Component/s: Gradebook
    • Labels:
    • Database:
      Any
    • Affected Branches:
      MOODLE_21_STABLE

      Description

      We need an automated check to ensure that if changes are made to the grade tables that the history tables are kept up to date. For example changes to grade_items most likely want to be reflected in grade_items_history.

      We need to do two things:
      1) if this isnt covered by an existing test then make sure the tables match those described in install.xml
      2) ensure that the grade tables and the grade history tables match up

      This may help. http://pastebin.com/BPhvVSCi

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              andyjdavis Andrew Davis
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: