-
Bug
-
Resolution: Fixed
-
Major
-
4.4
-
MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-81458-main-1 -
-
3
-
Team Alpha - Sprint 4 I1-2024
This is a regression from MDL-79863 that has been integrated last week and it only happens on Oracle database, see this build
Console output
1) qtype_ordering\questiontype_test::test_xml_export
|
Failed asserting that two strings are equal.
|
--- Expected
|
+++ Actual
|
@@ @@
|
<text>That is not right at all.</text>\n
|
</incorrectfeedback>\n
|
<shownumcorrect>1</shownumcorrect>\n
|
- <answer fraction="1.0000000" format="html">\n
|
+ <answer fraction="1" format="html">\n
|
<text>Modular</text>\n
|
<feedback format="html">\n
|
<text>Modular is correct.</text>\n
|
</feedback>\n
|
</answer>\n
|
- <answer fraction="2.0000000" format="html">\n
|
+ <answer fraction="2" format="html">\n
|
<text>Object</text>\n
|
<feedback format="html">\n
|
<text>Object is correct.</text>\n
|
</feedback>\n
|
</answer>\n
|
- <answer fraction="3.0000000" format="html">\n
|
+ <answer fraction="3" format="html">\n
|
<text>Oriented</text>\n
|
<feedback format="html">\n
|
<text>Oriented is correct.</text>\n
|
</feedback>\n
|
</answer>\n
|
- <answer fraction="4.0000000" format="html">\n
|
+ <answer fraction="4" format="html">\n
|
<text>Dynamic</text>\n
|
<feedback format="html">\n
|
<text>Dynamic is correct.</text>\n
|
</feedback>\n
|
</answer>\n
|
- <answer fraction="5.0000000" format="html">\n
|
+ <answer fraction="5" format="html">\n
|
<text>Learning</text>\n
|
<feedback format="html">\n
|
<text>Learning is correct.</text>\n
|
</feedback>\n
|
</answer>\n
|
- <answer fraction="6.0000000" format="html">\n
|
+ <answer fraction="6" format="html">\n
|
<text>Environment</text>\n
|
<feedback format="html">\n
|
<text>Environment is correct.</text>\n
|
|
/var/www/html/question/type/ordering/tests/questiontype_test.php:82
|
/var/www/html/question/type/ordering/tests/questiontype_test.php:298
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:69
|
Also noted that running the unit test on the whole file question/type/ordering/tests/questiontype_test.php also shows some errors:
1) qtype_ordering\questiontype_test::test_xml_import
|
Error: Class "qformat_xml" not found
|
|
/var/www/html/question/type/ordering/tests/questiontype_test.php:252
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:69
|
|
2) qtype_ordering\questiontype_test::test_xml_import_long
|
Error: Class "qformat_xml" not found
|
|
/var/www/html/question/type/ordering/tests/questiontype_test.php:264
|
/var/www/html/lib/phpunit/classes/advanced_testcase.php:69
|
|
3) qtype_ordering\questiontype_test::test_xml_export
|
Error: Class "qformat_xml" not found
|
- is a regression caused by
-
MDL-79863 Ordering question type core integration
-
- Closed
-