Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nitin-ebi committed Apr 26, 2024
1 parent 474364d commit 2a07f2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2a07f2c

Please sign in to comment.