Skip to content
This repository has been archived by the owner on May 27, 2023. It is now read-only.

assertJsonMatch() without assertion fails #268

Open
matiasnombarasco opened this issue Jan 26, 2016 · 0 comments
Open

assertJsonMatch() without assertion fails #268

matiasnombarasco opened this issue Jan 26, 2016 · 0 comments

Comments

@matiasnombarasco
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant