-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed as not planned
Labels
in: testIssues in the test moduleIssues in the test modulestatus: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
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: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply