BAEL-4642: corrected formatting (#10610)

This commit is contained in:
freelansam 2021-03-31 07:40:44 +05:30 committed by GitHub
parent b532ae2a0c
commit 34d4a4032d
1 changed files with 13 additions and 11 deletions

View File

@ -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());
}
} }