Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46719

mod_assign: Time remaining issue for group assignment test failure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.6.4, 2.7.1
    • Assignment
    • Any
    • MOODLE_26_STABLE, MOODLE_27_STABLE
    • master-mdl46719
    • Moderate
    • Hide

      Install a mod_assign submission plugin
      Run unit test: mod_assign_locallib_testcase
      Unit will fail with an error like:

      11:02:42 1) mod_assign_locallib_testcase::test_gradingtable_group_submissions_rendering
      11:02:42 Failed asserting that two strings are identical.
      11:02:42 — Expected
      11:02:42 +++ Actual
      11:02:42 @@ @@
      11:02:42 -Submission text
      11:02:42 +Show commentsComments (0)Save comment | Cancel

      Reason it fails:

      The test expects the 9th column to be "Submission feedback" then "Online Text" column. For some reason they are swapped around when the additional submission plugin has been introduced.

      Show
      Install a mod_assign submission plugin Run unit test: mod_assign_locallib_testcase Unit will fail with an error like: 11:02:42 1) mod_assign_locallib_testcase::test_gradingtable_group_submissions_rendering 11:02:42 Failed asserting that two strings are identical. 11:02:42 — Expected 11:02:42 +++ Actual 11:02:42 @@ @@ 11:02:42 -Submission text 11:02:42 +Show commentsComments (0)Save comment | Cancel Reason it fails: The test expects the 9th column to be "Submission feedback" then "Online Text" column. For some reason they are swapped around when the additional submission plugin has been introduced.

      The unit test test_gradingtable_group_submissions_rendering () raised in MDL-42179 (mod_assign: Time remaining issue for group assignment) fails when you have an additional submission plugin installed.

            tlock Tim Lock
            tlock Tim Lock
            Simey Lameze Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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