mirror of
https://github.com/fabioformosa/quartz-manager.git
synced 2026-05-14 22:00:30 +09:00
minor refactoring of packages
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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(){
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user