Skip to content
Commit ffe034ab authored by Thomas Müller's avatar Thomas Müller Committed by Daniel Calviño Sánchez
Browse files

Don't use runInSeparateProcess



Directly calling "header" in the PHPUnit process causes the "Cannot
modify header information - headers already sent by" error to be thrown.
Instead of running the test in a separate process, which is slower, this
commit wraps the call to "header" in a method that can be mocked in the
tests.

Signed-off-by: default avatarDaniel Calviño Sánchez <danxuliu@gmail.com>
parent a5e4c2ea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment