minor refactoring of packages

This commit is contained in:
Fabio Formosa
2022-10-15 15:38:16 +02:00
parent 39a10681bf
commit c725871a4e
10 changed files with 24 additions and 24 deletions

View File

@@ -37,9 +37,9 @@ public class SecurityControllerTest {
private MockMvc mockMvc;
@Test
void givenAnAnonymousUser_whenCalledATestController_thenShouldRaiseForbidden() throws Exception {
mockMvc.perform(MockMvcRequestBuilders.get("/test"))
.andExpect(status().isUnauthorized());
void givenAnAnonymousUser_whenCalledADMZController_thenShouldRaiseForbidden() throws Exception {
mockMvc.perform(MockMvcRequestBuilders.get("/dmz"))
.andExpect(status().isOk());
}
@Test

View File

@@ -13,7 +13,7 @@ public class TestController {
public static final String QUARTZ_MANAGER = "/quartz-manager";
@ResponseStatus(HttpStatus.OK)
@GetMapping("/test")
@GetMapping("/dmz")
public void getDMZTest(){
}