2 things can do,
firstly, update your composer by this command first:
composer updateAnd then use your phpunit command to check it work or not , if still fail, use another command to run your unit test:
YOUR_PROHECT_DIRECTORY\vendor\bin\phpunitChange text YOUR_PROHECT_DIRECTORY in red to your directory path, for my case the project is named demo :
C:\xampp\htdocs\demo\vendor\bin\phpunit
No comments :
Post a Comment