maths / moodle-qtype_stack

Stack question type for Moodle
GNU General Public License v3.0
138 stars 147 forks source link

Unit tests are broken after MDL-81352 has been landed to core #1174

Closed dmitriim closed 2 months ago

dmitriim commented 2 months ago

After the latest Moodle core release we noticed that unit tests started to fail (caused by MDL-81352).

There was 1 failure:

1) stack_radio_input_test::test_radio_plots
Failed asserting that false is true.

/var/www/site/question/type/stack/tests/input\_radio\_test.php:336
/var/www/site/lib/phpunit/classes/advanced\_testcase.php:80
phpvfscomposer:///var/www/site/vendor/phpunit/phpunit/phpunit:60

To re-run:
vendor/bin/phpunit "stack\_radio\_input\_test" question/type/stack/tests/input\_radio\_test.php
sangwinc commented 2 months ago

Thanks for reporting this! We noticed this too and fixed it already in the "dev" branch. That will soon be a new release.