Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpunit test throws error for this plugin #6

Open
rezeau opened this issue Jul 20, 2021 · 0 comments
Open

phpunit test throws error for this plugin #6

rezeau opened this issue Jul 20, 2021 · 0 comments

Comments

@rezeau
Copy link

rezeau commented Jul 20, 2021

When running phpunit on my local machine the tests stop with these error messages:

C:\xampp\htdocs\moodle311>php vendor/bin/phpunit
Moodle 3.11.1 (Build: 20210712), 2094d420e1a7966ad091357b53355d7f7cae1031
Php: 7.4.8, mariadb: 10.4.13, OS: Windows NT 10.0 AMD64
PHP Fatal error: Declaration of qbehaviour_adaptivemultipart_mark_display_test::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void in C:\xampp\htdocs\moodle311\question\behaviour\adaptivemultipart\tests\mark_display_test.php on line 52

Fatal error: Declaration of qbehaviour_adaptivemultipart_mark_display_test::setUp() must be compatible with PHPUnit\Framework\TestCase::setUp(): void in C:\xampp\htdocs\moodle311\question\behaviour\adaptivemultipart\tests\mark_display_test.php on line 52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant