Hey! General pact question (I think). I wrote this...
# general
j
Hey! General pact question (I think). I wrote this little consumer contract test and it seems to be working, and when I go to verify it in the provider it still seems to work, but when I intentionally "break" the provider and have it return
has_bugs: True
the pact still verifies successfully. I'm not sure exactly what I did wrong, but I'm assuming there's a way to have a contract depend on specific values for some contract tests, yes?
So I circled
body=Like(expected)
here because I wasn't sure if that was my fix or not. That's what I'm experimenting with now. If that's all it was, I'll feel silly, but I'll probably still leave this post for posterity.
Yeah, looks like that did the trick 👍
t
Yes,
Like
means "like this type". So, it will accept any boolean.
☝️ 1
👍 1