Replies: 1 comment
-
Coming back to this almost exactly two years later, I finally think I figured it out. I think what was happening was that the response was coming back with the DateTime field as a string, but the model was holding a |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a JSON response from my API, and I'm using the
response.assertJSONSubset()
. The JSON data represents a user, and that user has a Postgrestimestamp
data type.It looks roughly like this:
This results in the following failure:
What is this trying to tell me and how can I get this test to pass? I've also tried:
and
which all result in the same output.
Thank you for any help in advance
Beta Was this translation helpful? Give feedback.
All reactions