bozoh / moodle-mod_simplecertificate

It's NOT RECOMMENDED to install version below 2.2.6 (MOODLE_31), due a security issues See more in README
17 stars 46 forks source link

Unit test failing setUp() #272

Closed MichaelReyesCatcan closed 3 weeks ago

MichaelReyesCatcan commented 1 month ago

Describe the bug Unit test failure.

Fatal error: Declaration of mod_simplecertificate_base_testcase::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void in /var/www/site/mod/simplecertificate/tests/base_test.php on line 87
PHP Fatal error:  Declaration of mod_simplecertificate_base_testcase::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void in /var/www/site/mod/simplecertificate/tests/base_test.php on line 87

Moodle Version(s) MDL 4.1

To Reproduce Steps to reproduce the behavior: ``1. Runvendor/bin/phpunit mod/simplecertificate/tests/base_test.php`

Expected behavior No errors should arise.

davidherney commented 3 weeks ago

Hi @MichaelReyesCatcan...

Thanks for your contribution.

Saludos