-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Open
Labels
in: testIssues in the test moduleIssues in the test modulestatus: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on
Description
There is an inconsistency between WebTestClient and RestTestClient when the controller does not return any body. exec("/empty").returnResult().getResponseBody()
in WebTestClient returns an empty byte[] while RestTestClient returns null.
See the reproducer here https://github.com/lukas-krecan/JsonUnit/compare/reproducer?expand=1
It's not a big deal, feel free to close it if it is intentional. I was just a bit surprised by that and thought you may not be aware.
Metadata
Metadata
Assignees
Labels
in: testIssues in the test moduleIssues in the test modulestatus: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triaged or decided onAn issue we've not yet triaged or decided on