Skip to content

Commit

Permalink
test: 응답 바디 type descrition 수정 (fieldWithObject -> fieldWithArray)
Browse files Browse the repository at this point in the history
  • Loading branch information
hun-ca committed Jul 24, 2024
1 parent 5757bc0 commit 7f3ce10
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class ArticleControllerTest : ControllerTestSpec() {
PayloadDocumentation.fieldWithPath("data.views")
.fieldWithNumber("아티클 조회수"),
PayloadDocumentation.fieldWithPath("data.includedWorkbooks")
.fieldWithObject("아티클이 포함된 학습지 정보(해당 API에서 사용되지 않음)")
.fieldWithArray("아티클이 포함된 학습지 정보(해당 API에서 사용되지 않음)")
)
)
).build()
Expand Down Expand Up @@ -213,7 +213,7 @@ class ArticleControllerTest : ControllerTestSpec() {
PayloadDocumentation.fieldWithPath("data.articles.views")
.fieldWithNumber("아티클 조회수"),
PayloadDocumentation.fieldWithPath("data.articles.includedWorkbooks")
.fieldWithObject("아티클이 포함된 학습지 정보")
.fieldWithArray("아티클이 포함된 학습지 정보")
)
)
).build()
Expand Down

0 comments on commit 7f3ce10

Please sign in to comment.