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

Fix recent regressions & adjust unit tests

    XMLWordPrintable

Details

    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • Moderate
    • 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

    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

              stronk7 Eloy Lafuente (stronk7)
              stronk7 Eloy Lafuente (stronk7)
              Sam Hemelryk Sam Hemelryk
              Ankit Agarwal Ankit Agarwal
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Oct/11