Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24905 Unit tests fail
  3. MDL-24910

Lib/blocklib unit test fails

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Unit tests
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Skip: lib/simpletest/testblocklib_blockmanager.php / ?
      Unit test "moodle_block_manager_test_saving_loading" of type UnitTestCaseUsingDatabase skipped. Must define different, non-conflicting $CFG->unittestprefix to be runnable.
      Exception: lib/simpletest/testblocklib_blockmanager.php / ? moodle_block_manager_test / ? test_no_regions_initially
      Unexpected PHP error [Undefined property: stdClass::$theme] severity [E_NOTICE] in [/fs2/www/html/sm449/coremoodle/lib/pagelib.php line 1306]
      Exception: lib/simpletest/testblocklib_blockmanager.php / ? moodle_block_manager_test / ? test_add_region
      Unexpected PHP error [Undefined property: stdClass::$theme] severity [E_NOTICE] in [/fs2/www/html/sm449/coremoodle/lib/pagelib.php line 1306]
      Exception: lib/simpletest/testblocklib_blockmanager.php / ? moodle_block_manager_test / ? test_add_regions
      Unexpected PHP error [Undefined property: stdClass::$theme] severity [E_NOTICE] in [/fs2/www/html/sm449/coremoodle/lib/pagelib.php line 1306]
      Exception: lib/simpletest/testblocklib_blockmanager.php / ? moodle_block_manager_test / ? test_add_region_twice
      Unexpected PHP error [Undefined property: stdClass::$theme] severity [E_NOTICE] in [/fs2/www/html/sm449/coremoodle/lib/pagelib.php line 1306]
      Exception: lib/simpletest/testblocklib_blockmanager.php / ? moodle_block_manager_test / ? test_set_default_region
      Unexpected PHP error [Undefined property: stdClass::$theme] severity [E_NOTICE] in [/fs2/www/html/sm449/coremoodle/lib/pagelib.php line 1306]

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              guoruicn Ray Guo
              Reporter:
              quen Sam Marshall
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10