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

Failed to run PHPUnit tests on Moodle-v3.4.2 #4

Open
nsetru opened this issue May 3, 2018 · 1 comment
Open

Failed to run PHPUnit tests on Moodle-v3.4.2 #4

nsetru opened this issue May 3, 2018 · 1 comment

Comments

@nsetru
Copy link

nsetru commented May 3, 2018

$ vendor/bin/phpunit mod_collaborate_calendar_testcase /mod/collaborate/tests/calendar_test.php
Moodle 3.4.2+ (Build: 20180425), 507c9207dbb50fde0870a32e3e76e9f9edac7e37
Php: 7.1.9, mysqli: 5.7.19, OS: Windows NT 6.1 AMD64

Warning: require_once(\moodle\mod\collaborate\tests/../../../local/mr/bootstrap.php): failed to open stream: No such file or directory in \moodle\mod\collaborate\tests\calendar_test.php on line 30

Fatal error: require_once(): Failed opening required '\moodle\mod\collaborate\tests/../../../local/mr/bootstrap.php' (include_path='\moodle/lib/pear;.;C:\php\pear') in \moodle\mod\collaborate\tests\calendar_test.php on line 30

@nsetru
Copy link
Author

nsetru commented May 3, 2018

Please can the following line be removed int he next version release
require_once(__DIR__.'/../../../local/mr/bootstrap.php');

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