Getting 403 Forbidden in Spring Boot Controller Test with MockMVC
I’m encountering a 403 Forbidden error when running a Spring Boot test for my SetupController using MockMVC. Despite mocking the JWT validation to return true, the test still fails with a 403 status. Below are the relevant code snippets for my controller and test class.