-
Couldn't load subscription status.
- Fork 41.6k
Closed
Description
The secure flag dictates if Spring Security's mock mvc support should be auto-configured when it is
on the classpath. It also imports SecurityAutoConfiguration if set to true. However, Spring Security provides some handy test support which means you do not need to disable security for tests in most cases. For example, you can add @WithMockuser and the test will run with an authenticated user.
This will also cause this bug to go away.
wilkinsona and woemlerpavel-kiper
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement