moodleou / moodle-quiz_answersheets

A Moodle quiz report to allow quiz attempts to be exported
8 stars 15 forks source link

Issue #35: Workaround when the class does not exist #37

Open TomoTsuyuki opened 9 months ago

TomoTsuyuki commented 9 months ago

This is a workaround to avoid the phpunit issue.

Basically check the class and using alias for the class definition.

https://moodledev.io/docs/4.2/devupdate#developer-tip---handling-changes-to-base-class-names-while-supporting-multiple-moodle-versions

After this patch, the phpunit test for lib/tests/component_test.php is working ok.

TomoTsuyuki commented 8 months ago

Hi @timhunt

Can you review this PR to fix the issue #35 ?

TomoTsuyuki commented 7 months ago

Hi @timhunt

Have you had a chance to review this PR? Please let me know if I need to update something for this PR.

TomoTsuyuki commented 6 months ago

Hi @timhunt

Do you have any updates for this PR?