Closed odrotbohm closed 5 years ago
The method is not annotated with @Test and also uses @WithMockUser in a wrong way (needs to use roles, not authorities).
@Test
@WithMockUser
roles
authorities
The method is not annotated with
@Test
and also uses@WithMockUser
in a wrong way (needs to useroles
, notauthorities
).