Slide 95
Slide 95 text
@holly_cummins @edeandrea
#DevNexus #RedHat
how annoying, the provider is returning 204. the contract
expects 404, so my test is broken.
quarkus will return 204 by default.
204 vs 404 - it’s more about the theory behind REST...if a
caller asks for a resource the server doesn't have, it should
be a 404 - same way if a user types in an invalid URL into
the browser
ugh, it’s too late at night to care about REST theory.
I’m just going to update the expectations in the test to
match reality.
what?! why is my other contract test broken now?
oh … because what I’m changing is a mock….
Based on a true story….