Ruth
11/09/2023, 10:14 AM1) Verifying a pact between Consumer-Working and provider - consumer-test has a matching body
1.1) body: $.lastResponse Expected [2021,5,10,16,40,55] to match a datetime of 'yyyy-MM-dd'T'HH:mm:ss': Unable to parse the date: [2021,5,10,16,40,55]
I did try to reproduce a local closed source project, so maybe I forgot to copy something over? At least the LocalDateTime String method here looks very odd ([2021,5,10,16,40,55])
In my other error message with our service it shows up as 2021-05-10T16:40:55
Anybody an idea what I am missing? 🙂Yousaf Nabi (pactflow.io)
LocalDateTime and that at least allowed me to get to your original issue state.
I assume your own project will serialise these values into strings when sending them over the wire.
Added comments to your original post here
https://github.com/pact-foundation/pact-jvm/issues/1726#issuecomment-1805958698
with hopefully a workaround to get you out a bind for the momentRuth
11/10/2023, 5:17 PM