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

Cannot modify header information - headers already sent #8

Open
shynkaruck opened this issue Sep 14, 2018 · 1 comment
Open

Cannot modify header information - headers already sent #8

shynkaruck opened this issue Sep 14, 2018 · 1 comment

Comments

@shynkaruck
Copy link

If i sent dispatchAction to controller and this controller has redirect to another link, test crash with error Cannot modify header information - headers already sent by (output started vendor/phpunit/phpunit/src/Util/Printer.php:134). For example ,create new product

@in2part
Copy link

in2part commented Feb 14, 2019

Try to run phpunit with flag --stderr

For example:
vendor/bin/phpunit --testsuite catalog --stderr

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