diff --git a/accession-commons-monotonic-generator-jpa/src/test/java/uk/ac/ebi/ampt2d/commons/accession/rest/DecoratedAccessionMergedExceptionTest.java b/accession-commons-monotonic-generator-jpa/src/test/java/uk/ac/ebi/ampt2d/commons/accession/rest/DecoratedAccessionMergedExceptionTest.java index f53555a7..d1cf7d55 100644 --- a/accession-commons-monotonic-generator-jpa/src/test/java/uk/ac/ebi/ampt2d/commons/accession/rest/DecoratedAccessionMergedExceptionTest.java +++ b/accession-commons-monotonic-generator-jpa/src/test/java/uk/ac/ebi/ampt2d/commons/accession/rest/DecoratedAccessionMergedExceptionTest.java @@ -113,7 +113,7 @@ public void testAllOperationsAfterMerge() throws Exception { private ResultActions doAccession(ResultMatcher resultMatcher, String... values) throws Exception { final BasicRestModel[] restModels = Arrays.stream(values).map(s -> new BasicRestModel(s)) .toArray(size -> new BasicRestModel[size]); - return mockMvc.perform(post("/v1/test") + return mockMvc.perform(post("/v1/test/" + "applicationInstanceId") .contentType(MediaType.APPLICATION_JSON).accept(MediaType.APPLICATION_JSON) .content(jsonModelList.write(Arrays.asList(restModels)).getJson())) .andExpect(resultMatcher);