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

Regression in backup unit tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.4
    • 4.4
    • Unit tests
    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • Hide

      Given specific windows tests (see comments below) have passed, let's put this into automated CiBoT tests.

      • Verify that there aren't regressions @ CIs caused by this.

       

      Additionally - verify MDL-80553's issue isn't reintroduced:

      1. Add the grid course format (https://github.com/gjbarnard/moodle-format_grid)
      2. Run the following PHPUnit test:

        mdk phpunit -r -u backup/moodle2/tests/backup_stepslib_test.php

      3. Check all tests pass ok.
      Show
      Given specific windows tests (see comments below) have passed, let's put this into automated CiBoT tests. Verify that there aren't regressions @ CIs caused by this.   Additionally - verify MDL-80553 's issue isn't reintroduced: Add the grid course format ( https://github.com/gjbarnard/moodle-format_grid) Run the following PHPUnit test: mdk phpunit -r -u backup/moodle2/tests/backup_stepslib_test.php Check all tests pass ok.

      MDL-81462 seems to have broken the tests added in MDL-80553.

      Destroying the backup controller before the define_structure is invoked causes the same issue 80553 was solving.

            aolley Adam Olley
            aolley Adam Olley
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Huong Nguyen Huong Nguyen
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 36 minutes
                36m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.