spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

Warn users that WebTestClient with MockMvc is not supported

Open sjohnr opened this issue 3 years ago • 1 comments

WebTestClient + MockMvc is not currently supported. If possible, we should warn users with an IllegalStateException that this is not supported when the WebTestClient is set up. A note should also be added to the documentation.

Related gh-10841

sjohnr avatar Feb 22 '22 19:02 sjohnr

See this comment for a possible workaround and note. If a workaround exists and works as intended, this issue could focus on updating documentation.

sjohnr avatar Mar 01 '22 18:03 sjohnr