From 2a07f2ca0594717de14966e41382187bc94db1d8 Mon Sep 17 00:00:00 2001 From: nkumar2 Date: Fri, 26 Apr 2024 13:35:00 +0100 Subject: [PATCH] fix test --- .../accession/rest/DecoratedAccessionMergedExceptionTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);