I have a problem to write Integration Test in my Spring Boot example. In my UserController class, every methods are defined with PreAuthorize with roles.
Here is the link : https://stackoverflow.com/questions/76172699/how-to-write-integration-test-with-the-usage-of-bearer-token-in-spring-boot-thr