-
Bug
-
Resolution: Fixed
-
Minor
-
4.2.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
To reproduce
- Install https://moodle.org/plugins/editor_marklar into Moodle 4.2+ (or any other editor plugin)
- Run core\plugininfo\editor_test phpunit --testsuite
- 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
|