New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assert JSON structure/schema in Unit/Integration test #6698
Comments
blueblakk
changed the title
Assert JSON structure in Unit/Integration test
Assert JSON structure/schema in Unit/Integration test
Oct 5, 2023
Do you mean that you want similar functionality to seeResponseContainsJson and seeResponseMatchesJsonType without using REST module or making request? You would have to implement your own helper methods, but you can reuse constraints from codeception/module-rest if you like their behaviour. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to assert JSON structure/schema in unit/integration tests for controllers?
The text was updated successfully, but these errors were encountered: