DEV Community

Discussion on: Testing SpringBoot Applications

Collapse
 
sivalabs profile image
K. Siva Prasad Reddy

We can use @WithMockUser from Spring Security Testing support for simulating authenticated user flow as described here docs.spring.io/spring-security/sit....

Collapse
 
harshalwazarkar20 profile image
Harshad Wazarkar

thank you sir for your replay.

i will try this