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

Various unit tests fail, possibly due to previous test not resetting prefix

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • 2.0
    • None
    • Unit tests
    • None
    • MOODLE_20_STABLE

    Description

      When running all unit tests, various ones fail with a message like the following (this is the first):

      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.

      This may indicate that a previous test did not correctly reset the database prefix.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: