test check

This commit is contained in:
Krzysztof Majewski 2019-02-16 15:04:21 +01:00
parent 47fee6d006
commit cbff011de4
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class RequestAndPathVariableValidationControllerIntegrationTest {
}
@Test
public void getNameOfDayByNumberRequestParam_whenGetWithProperRequestParam_thenReturn200() throws Exception {
public void getNameOfDayByNumberRequestParam_whenGetWithInvalidRequestParam_thenReturn400() throws Exception {
mockMvc.perform(get("/public/api/1/name-for-day").param("dayOfWeek", Integer.toString(5))).andExpect(status().isBadRequest());
}
}