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

Fix recent regressions & adjust unit tests

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Execute under 21_STABLE and master:

      1) Run blog/simpletest/testbloglib.php unittests
      2) TEST: 0 fails and 0 exceptions

      3) Reload the page (F5 or similar). The blog/simpletest/testblog.php unittests will be executed again
      4) TEST: 0 fails and 0 exceptions

      5) Run lib/simpletest/testpagelib_moodlepage.php unittests
      6) TEST: 0 fails and 0 exceptions

      7) Run rating/simpletest/testrating.php unittests
      8) TEST: 0 fails and 0 exceptions

      9) Run ALL unittests
      10) No error related with any of the 3 above should happen

      11) Reload the page (F5 or similar). All the tests will be executed again
      12) No error related with any of the 3 above should happen

      Show
      Execute under 21_STABLE and master: 1) Run blog/simpletest/testbloglib.php unittests 2) TEST: 0 fails and 0 exceptions 3) Reload the page (F5 or similar). The blog/simpletest/testblog.php unittests will be executed again 4) TEST: 0 fails and 0 exceptions 5) Run lib/simpletest/testpagelib_moodlepage.php unittests 6) TEST: 0 fails and 0 exceptions 7) Run rating/simpletest/testrating.php unittests 8) TEST: 0 fails and 0 exceptions 9) Run ALL unittests 10) No error related with any of the 3 above should happen 11) Reload the page (F5 or similar). All the tests will be executed again 12) No error related with any of the 3 above should happen
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Recent changes in code have introduced some minor regressions and/or require changes into unit tests keep all them working.

      This issue will apply the changes necessary to fix all them, each commit one problem.

      Ciao

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stronk7 Eloy Lafuente (stronk7)
                Reporter:
                stronk7 Eloy Lafuente (stronk7)
                Integrator:
                Sam Hemelryk
                Tester:
                Ankit Agarwal
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11