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

Unit test time limit is per class, causes gradebook unit tests to sometimes fail

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.0
    • 2.0
    • Gradebook
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      Exception: lib/grade/simpletest/testgradecategory.php / ? grade_category_test / ? test_grade_category_construct
      Unexpected exception of type [ddl_exception] with message [XML database file errors found] in [/fs2/www/html/sm449/coremoodle/lib/ddl/database_manager.php line 390]

      Debug info:

      Errors found in XMLDB file: XML Error: Opening and ending tag mismatch: secondtag line 0 and wrongtag at line 4.

      • line 425 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
      • line ... of ...
      • line 80 of /lib/simpletest/fixtures/gradetest.php: call to UnitTestCaseUsingDatabase->create_test_tables()
      • line ... of ...

      Exception: lib/grade/simpletest/testgradecategory.php / ? grade_category_test / ? test_grade_category_build_path
      Unexpected exception of type [ddl_exception] with message [XML database file errors found] in [/fs2/www/html/sm449/coremoodle/lib/ddl/database_manager.php line 390]

      Debug info:

      Errors found in XMLDB file: XML Error: Opening and ending tag mismatch: secondtag line 0 and wrongtag at line 4.

      • line 425 of /lib/ddl/database_manager.php: call to database_manager->load_xmldb_file()
      • line ... of ...
      • line 80 of /lib/simpletest/fixtures/gradetest.php: call to UnitTestCaseUsingDatabase->create_test_tables()
      • line ... of ...

      ... and many more

            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.