Skip to content

Commit

Permalink
hotfix: isAssigned 할당
Browse files Browse the repository at this point in the history
  • Loading branch information
sominyun committed May 18, 2024
1 parent 882c2fb commit 3b41ad9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ class TodoControllerTest : AbstractRestDocsConfigurer() {
val deadline = LocalDate.parse("2024-05-23")
val getTodo: GetTodo.Response = generateFixture {
it.setExp(GetTodo.Response::todoList, listOf(
GetTodo.TodoInfo(1,"체육복 챙기기",TodoType.SUPPLY,LocalDate.parse("2024-05-28"),Status.COMPLETE),
GetTodo.TodoInfo(2,"수학학원 숙제",TodoType.HOMEWORK,LocalDate.parse("2024-05-31"),Status.INCOMPLETE)
GetTodo.TodoInfo(1,"체육복 챙기기",TodoType.SUPPLY,LocalDate.parse("2024-05-28"),Status.COMPLETE, true),
GetTodo.TodoInfo(2,"수학학원 숙제",TodoType.HOMEWORK,LocalDate.parse("2024-05-31"),Status.INCOMPLETE,false)
))
}

Expand All @@ -98,7 +98,8 @@ class TodoControllerTest : AbstractRestDocsConfigurer() {
fieldWithPath("todoList[].description").description("할 일"),
fieldWithPath("todoList[].todoType").description("유형"),
fieldWithPath("todoList[].deadline").description("마감일"),
fieldWithPath("todoList[].status").description("상태")
fieldWithPath("todoList[].status").description("상태"),
fieldWithPath("todoList[].isAssigned").description("할당 여부(선생님:true,학부모:false)")
)
)
)
Expand Down

0 comments on commit 3b41ad9

Please sign in to comment.