BAEL-4642: corrected formatting (#10610)
This commit is contained in:
parent
b532ae2a0c
commit
34d4a4032d
@ -16,18 +16,20 @@ import org.springframework.test.web.servlet.MockMvc;
|
|||||||
@AutoConfigureMockMvc
|
@AutoConfigureMockMvc
|
||||||
public class OpenApiPetsIntegrationTest {
|
public class OpenApiPetsIntegrationTest {
|
||||||
|
|
||||||
private static final String PETS_PATH = "/pets/";
|
private static final String PETS_PATH = "/pets/";
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private MockMvc mockMvc;
|
private MockMvc mockMvc;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenReadAll_thenStatusIsNotImplemented() throws Exception {
|
public void whenReadAll_thenStatusIsNotImplemented() throws Exception {
|
||||||
this.mockMvc.perform(get(PETS_PATH)).andExpect(status().isNotImplemented());
|
this.mockMvc.perform(get(PETS_PATH))
|
||||||
}
|
.andExpect(status().isNotImplemented());
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenReadOne_thenStatusIsNotImplemented() throws Exception {
|
public void whenReadOne_thenStatusIsNotImplemented() throws Exception {
|
||||||
this.mockMvc.perform(get(PETS_PATH + 1)).andExpect(status().isNotImplemented());
|
this.mockMvc.perform(get(PETS_PATH + 1))
|
||||||
}
|
.andExpect(status().isNotImplemented());
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user