ethz-let / moodle-qtype_drawing

1 stars 6 forks source link

Tests failing in Moodle 4.1 #20

Closed matthewhilton closed 1 year ago

matthewhilton commented 1 year ago
vendor/bin/phpunit --testsuite=qtype_drawing_testsuite
Moodle 4.1.2+ (Build: 20230318), ea3927e3d12ccbcd377a5160d8b61e18798024dd
Php: 8.0.24, mysqli: 8.0.31, OS: Linux 5.19.0-35-generic x86_64
PHPUnit 9.5.27 by Sebastian Bergmann and contributors.

....E                                                               5 / 5 (100%)

Time: 00:00.147, Memory: 76.50 MB

There was 1 error:

1) qtype_drawing_walkthrough_testcase::test_deferred_feedback_plain_text
coding_exception: Coding error detected, it must be fixed by a programmer: Method make_drawing_question_plain does not exist on the drawing question type test helper class.

/var/www/ec-41/question/engine/tests/helpers.php:266
/var/www/ec-41/question/engine/tests/helpers.php:286
/var/www/ec-41/question/type/drawing/tests/walkthrough_test.php:39
/var/www/ec-41/lib/phpunit/classes/advanced_testcase.php:80