I am working for a company. I know how to ran PHPUnit tests on vagrant box. But I don't know why i can't run any test on their vagrant box configured using chef. Whenever i am running PHPUnit
command, i am getting below error:
There was 1 failure:
1) ExampleTest::testBasicExample
A request to [en/contact] failed. Received status code [404].
/..../vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php:178
/..../vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php:72
/..../vendor/laravel/framework/src/Illuminate/Foundation/Testing/Concerns/InteractsWithPages.php:53
/..../tests/ExampleTest.php:16
Caused by
ErrorException: Cannot modify header information - headers already sent by (output started at /..../vendor/phpunit/phpunit/src/Util/Printer.php:133) in /..../app/Http/Middleware/SetCookieData.php:17
Any help will be very much appreciable.