Skip to content

Warn users that WebTestClient with MockMvc is not supported #10900

Open
@sjohnr

Description

@sjohnr

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

Metadata

Metadata

Assignees

Labels

in: testAn issue in spring-security-testtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions