ethz-let / moodle-qtype_drawing

1 stars 6 forks source link

phpunit failed test #16

Closed ehsan42 closed 2 years ago

ehsan42 commented 2 years ago

Moodle 3.11.5+ (Build: 20220218), f032d71027d30dcfe1af4e2320444187d4060ea4 Php: 7.4.27, mysqli: 5.7.36, OS: Linux 5.10.60.1-microsoft-standard-WSL2 x86_64 PHPUnit 9.5.13 by Sebastian Bergmann and contributors.

Runtime: PHP 7.4.27 Configuration: /var/www/html/phpunit.xml

Test 'qtype_drawing_test::test_get_random_guess_score' started Test 'qtype_drawing_test::test_get_random_guess_score' ended

Time: 00:00.297, Memory: 312.00 MB

There was 1 error:

1) qtype_drawing_test::test_get_random_guess_score Creating default object from empty value

/var/www/html/question/type/drawing/tests/questiontype_test.php:54 /var/www/html/question/type/drawing/tests/questiontype_test.php:67 /var/www/html/lib/phpunit/classes/advanced_testcase.php:80 phpvfscomposer:///var/www/html/vendor/phpunit/phpunit/phpunit:97

ERRORS! Tests: 1, Assertions: 0, Errors: 1.