Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Controller tests: assertResponse()->containsJson() accepts empty string #73

Open
Matthimatiker opened this issue May 13, 2013 · 0 comments

Comments

@Matthimatiker
Copy link
Owner

Currently the Mol_Test_Assertions_HttpResponse::containsJson() assertion accepts an empty response body, which is usually not what you expect as JSON output.

Therefore, containsJson() should reject empty strings.

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

No branches or pull requests

1 participant