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

PHPUnit tests test_question_categorylist and test_question_categorylist_bad_data are failing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.2.7, 4.3.4
    • 4.3.3
    • Questions

      There was coderunner plugin installed on our system which creates some question categories. Because of which the following PHPUnit tests were failing assertion. 

      core\questionlib_test::test_question_categorylist
      Failed asserting that two arrays are equal.
      — Expected
      +++ Actual
      @@ @@
      Array (

       
      2. test_question_categorylist_bad_data
      Error: core\questionlib_test::test_question_categorylist_bad_data
      Failed asserting that two arrays are equal.
      — Expected
      +++ Actual
      @@ @@
      Array (

            Anupama Sarjoshi Anupama Sarjoshi
            Anupama Sarjoshi Anupama Sarjoshi
            Mahmoud Kassaei Mahmoud Kassaei
            Tim Hunt Tim Hunt
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 40 minutes
                1h 40m

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