fix unit test from 422 to 400

This commit is contained in:
Mykhaylo Boychuk
2020-02-11 16:49:45 +01:00
parent 496b88093d
commit 5adb1ce549

View File

@@ -114,6 +114,6 @@ public class ExternalSourcesRestControllerIT extends AbstractControllerIntegrati
@Test
public void findOneExternalSourceEntriesNoQuery() throws Exception {
getClient().perform(get("/api/integration/externalsources/mock/entries"))
.andExpect(status().isUnprocessableEntity());
.andExpect(status().isBadRequest());
}
}