EcomDev_PHPUnit
EcomDev_PHPUnit copied to clipboard
assertJsonMatch() without assertion fails
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.