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

When i was running a phpunit test i got he following error. I'm using phpunit 6.2.4 #3868

Closed
damodharan108 opened this issue Sep 17, 2019 · 3 comments

Comments

@damodharan108
Copy link

Fatal error: Uncaught RuntimeException: Command failed (cd ""; cv php:boot --level=classloader):
in C:\wamp64\www\vhosts\drupal\sites\default\files\civicrm\ext\uk.co.vedaconsulting.module.vedacivimobile\tests\phpunit\bootstrap.php:43
Stack trace:
#0 C:\wamp64\www\vhosts\drupal\sites\default\files\civicrm\ext\uk.co.vedaconsulting.module.vedacivimobile\tests\phpunit\bootstrap.php(5): cv('cd ""; cv php:b...', 'phpcode')
#1 phar://C:/Windows/System32/phpunit.phar/phpunit/Util/Fileloader.php(61): include_once('C:\wamp64\www\v...')
#2 phar://C:/Windows/System32/phpunit.phar/phpunit/Util/Fileloader.php(45): PHPUnit\Util\Fileloader::load('C:\wamp64\www\v...')
#3 phar://C:/Windows/System32/phpunit.phar/phpunit/TextUI/Command.php(915): PHPUnit\Util\Fileloader::checkAndLoad('C:\wamp64\www\v...')
#4 phar://C:/Windows/System32/phpunit.phar/phpunit/TextUI/Command.php(737): PHPUnit\TextUI\Command->handleBootstrap('C:\wamp64\www\v...')
#5 phar://C:/Windows/System32/phpunit.phar/phpunit/TextUI/Command.php(152): PHPUnit\TextUI in C:\wamp64\www\vhosts\drupal\sites\default\files\civicrm\ext\uk.co.vedaconsulting.module.vedacivimobile\tests\phpunit\bootstrap.php on line 43

@sebastianbergmann
Copy link
Owner

sebastianbergmann commented Sep 17, 2019

PHPUnit 6 is no longer supported. Please open a new ticket in case this still applies to a supported version of PHPUnit.

@damodharan108
Copy link
Author

Thank you

@damodharan108
Copy link
Author

damodharan108 commented Sep 18, 2019 via email

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

2 participants