You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DebugTransformerTest writes 123 to the output of PHPUnit #501
DebugTransformerTest::testTransform writes 123 twice to the output of PHPUnit: the DebugTransformer dumps the value with VarDumper::dump() (STDOUT in CLI), and the test dumps it once more.
Proposed fix
Capture the dump with a VarDumper handler in the test (and assert the dumped value), restore the previous handler; no dump of its own.
Activity
Merge pull request #502 from cleverage/501