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

Lib/blocklib unit test fails

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.0
    • 2.0
    • Unit tests
    • None
    • MOODLE_20_STABLE
    • 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

              guoruicn Ray Guo
              quen Sam Marshall
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10