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

tool_monitor_task_clean_events_testcase::test_clean_events unit test fail

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Unit tests
    • Labels:
    • Environment:
      Moodle 2.8beta+ (Build: 20141028), pgsql, f1d3d8ccb315282cb984e6ef120d4304efc0eff2
      PHPUnit 3.7.38 by Sebastian Bergmann.

      Description

      It seems to be a random issue, but needs to be verified.

      Following test failing:

      There was 1 failure:
       
      1) tool_monitor_task_clean_events_testcase::test_clean_events
      Failed asserting that two strings are equal.
      --- Expected
      +++ Actual
      @@ @@
      -'\mod_book\event\course_module_viewed'
      +'\mod_book\event\chapter_viewed'
       
      /Users/Shared/Jenkins/Home/git_repositories/master/admin/tool/monitor/tests/task_clean_events_test.php:131
      /Users/Shared/Jenkins/Home/git_repositories/master/lib/phpunit/classes/advanced_testcase.php:80
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14