You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webClient.get.expectBody(Toto.class) doesn't throw on missing fields, it just uses the default value of the bean, so for example for boolean values it defaults to false, which is our case was also the expected value.
This bug allowed a bug to slip in: the "private: false" field was missing entirely but the test still worked
The text was updated successfully, but these errors were encountered:
webClient.get.expectBody(Toto.class) doesn't throw on missing fields, it just uses the default value of the bean, so for example for boolean values it defaults to false, which is our case was also the expected value.
This bug allowed a bug to slip in: the "private: false" field was missing entirely but the test still worked
The text was updated successfully, but these errors were encountered: