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

core_component_testcase assumes you don't have add-ons isntalled

XMLWordPrintable

    • 2
    • BACKEND Sprint 5

      Steps to reproduce:

      1. Install http://moodle.org/plugins/view.php?plugin=report_customsql into a master install.
      2. Run the unit tests.

      Expected result: They all pass.

      Acutal result:

      1) core_component_testcase::test_get_plugin_list_with_file
      Failed asserting that two arrays are equal.
      --- Expected
      +++ Actual
      @@ @@
       Array (
           0 => 'completion'
      -    1 => 'log'
      -    2 => 'loglive'
      -    3 => 'outline'
      -    4 => 'participation'
      -    5 => 'progress'
      -    6 => 'stats'
      +    1 => 'customsql'
      +    2 => 'log'
      +    3 => 'loglive'
      +    4 => 'outline'
      +    5 => 'participation'
      +    6 => 'progress'
      +    7 => 'stats'
       )
       
      C:\Users\tjh238\workspace\moodle_head\lib\tests\component_test.php:351
      C:\Users\tjh238\workspace\moodle_head\lib\phpunit\classes\advanced_testcase.php:76
      

            skodak Petr Skoda
            timhunt Tim Hunt
            Tim Hunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Jérôme Mouneyrac Jérôme Mouneyrac
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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