Skip to content

Commit

Permalink
test: rest docs document 이름 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
juno-junho committed Sep 24, 2023
1 parent 17c3a30 commit edd9039
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ void successRegisterCategory() throws Exception {
.content(mapper.writeValueAsString(categoryRequest)))
.andExpect(status().isOk())
.andDo(
document("category/save",
document("store/category/save",
pathParameters(
parameterWithName("storeId").description("가게 id")
),
Expand All @@ -129,7 +129,7 @@ void successRegisterPhoneNumber() throws Exception {
.content(mapper.writeValueAsString(phoneNumberRequest)))
.andExpect(status().isOk())
.andDo(
document("phone-number/update",
document("store/phone-number/update",
pathParameters(
parameterWithName("storeId").description("가게 id")
),
Expand All @@ -154,7 +154,7 @@ void successRemovePhoneNumber() throws Exception {
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andDo(
document("phone-number/delete",
document("store/phone-number/delete",
pathParameters(
parameterWithName("storeId").description("가게 id")
)
Expand All @@ -178,7 +178,7 @@ void successRegisterInformation() throws Exception {
.content(mapper.writeValueAsString(informationRequest)))
.andExpect(status().isOk())
.andDo(
document("update/storeInfo",
document("store/info/update",
pathParameters(
parameterWithName("storeId").description("가게 id")
),
Expand All @@ -203,7 +203,7 @@ void successRemoveInformation() throws Exception {
.contentType(MediaType.APPLICATION_JSON))
.andExpect(status().isOk())
.andDo(
document("delete/storeInfo",
document("store/info/delete",
pathParameters(
parameterWithName("storeId").description("가게 id")
)
Expand All @@ -230,7 +230,7 @@ void successSaveImages() throws Exception {
.with(csrf()))
.andExpect(status().isOk())
.andDo(
document("delete/storeInfo",
document("store/image/save",
pathParameters(
parameterWithName("storeId").description("가게 id")
),
Expand Down

0 comments on commit edd9039

Please sign in to comment.