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

mod_assign: Time remaining issue for group assignment test failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Development in progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.4, 2.7.1
    • Fix Version/s: None
    • Component/s: Assignment
    • Database:
      Any
    • Testing Instructions:
      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.
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_26_STABLE, MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master-mdl46719

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tlock Tim Lock
              Reporter:
              tlock Tim Lock
              Peer reviewer:
              Simey Lameze Simey Lameze
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: