mdjnelson / moodle-mod_customcert

Enables the creation of dynamically generated certificates with complete customisation via the web browser.
https://moodle.org/plugins/mod_customcert
GNU General Public License v3.0
89 stars 157 forks source link

PHP Unit tests #557

Closed ccaemmi closed 1 year ago

ccaemmi commented 1 year ago

Updating the deprecated function cron_setup_user() to \core\cron::setup_user(), running tests separately and updating the $userlang code.

mdjnelson commented 1 year ago

I fixed this in https://github.com/mdjnelson/moodle-mod_customcert/commit/88f5712d165bb2cc3f29f4ca439f1e0c2176846c, closing. Thanks!