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

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

      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.

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.