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
When MockMvc is used to set up a WebTestClient, applying a mutator such as csrf() fails with a NullPointerException, but would ideally fail with a more meaningful error such as IllegalStateException to indicate it is not supported. The following Spring Boot tests illustrate the problem:
When MockMvc is used to set up a
WebTestClient
, applying a mutator such ascsrf()
fails with aNullPointerException
, but would ideally fail with a more meaningful error such asIllegalStateException
to indicate it is not supported. The following Spring Boot tests illustrate the problem:Related gh-10841 gh-10900
The text was updated successfully, but these errors were encountered: