What am I missing? Invalid schema passes tests #139
Unanswered
designvoid
asked this question in
Q&A
Replies: 2 comments
-
@designvoid I met same problem. I don't know why in detail, but I feel this problem relates to this issue, #183 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@designvoid Can you try using master branch ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My API categorically does not return errors in the correct
JSON:API
format - I haven't written the code for it yet - trying to be a good TDD dev I have written a simple test that I know will cause an error to be returned (401 - not authorized).When I run the test:
I get all green
OK (1 test, 3 assertions)
But I know the the errors look like this:
And my spec looks like this:
Obviously it's correctly validating the 401 code but I would expect it to kick off about the structure of the response... or am I missing something?
Any thoughts/advice would be most welcome! :) TIA!
Beta Was this translation helpful? Give feedback.
All reactions