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

core\plugininfo\editor_test and core_admin\external\set_plugin_order_test failures if you install another editor

XMLWordPrintable

      To reproduce

      1. Install https://moodle.org/plugins/editor_marklar into Moodle 4.2+ (or any other editor plugin)
      2. Run core\plugininfo\editor_test phpunit --testsuite
      3. Also run core_admin\external\set_plugin_order_test phpunit --testsuite

      Expected results: it passes:

      Actual results; several failures, similar to

      core\plugininfo\editor_test::test_get_sorted_plugins with data set #4 ('tiny', false, array('tiny', 'atto', 'textarea'))
      Failed asserting that two arrays are identical.
      --- Expected
      +++ Actual
      @@ @@
      Array &0 (
      0 => 'tiny'
      1 => 'atto'
      -    2 => 'textarea'
      +    2 => 'marklar'
      +    3 => 'textarea'
      )
      /var/www/html/lib/tests/plugininfo/editor_test.php:95
      /var/www/html/lib/phpunit/classes/advanced_testcase.php:94
      /var/www/html/vendor/bin/phpunit:127
      

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 50 minutes
                50m

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