EcomDev_PHPUnit icon indicating copy to clipboard operation
EcomDev_PHPUnit copied to clipboard

assertJsonMatch() without assertion fails

Open matiasnombarasco opened this issue 9 years ago • 0 comments

When you have a not pass test using the following assertion: assertJsonMatch

The framework throws the following exception: Exception: Warning: Missing argument 2 for EcomDev_PHPUnit_Constraint_Json::customFailureDescription()

The exception can be avoided if the the provider and the expectation matches the assertion. But in case of a fail, It will break.

matiasnombarasco avatar Jan 26 '16 02:01 matiasnombarasco