Skip to content

Commit

Permalink
test: url을 format으로 변경한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Feb 23, 2024
1 parent b60f726 commit c753ae7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public abstract class AbstractSurveyTestSupporter {

protected ResultActions bookmarkSurvey(String token, Long surveyId) throws Exception {
return mockMvc.perform(MockMvcRequestBuilders
.post(API_VERSION + "/surveys/" + surveyId + "/bookmarks")
.post("/{version}/surveys/{surveyId}/bookmarks", "v1", surveyId)
.accept(MediaType.APPLICATION_JSON)
.header(HttpHeaders.AUTHORIZATION, token));
}
Expand Down

0 comments on commit c753ae7

Please sign in to comment.