From 3b41ad9ca8fdd87823f890a6830ab71e9971357c Mon Sep 17 00:00:00 2001 From: sominyun Date: Sat, 18 May 2024 14:55:24 +0900 Subject: [PATCH] =?UTF-8?q?hotfix:=20isAssigned=20=ED=95=A0=EB=8B=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/todo/presentation/TodoControllerTest.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/test/kotlin/com/asap/asapbackend/domain/todo/presentation/TodoControllerTest.kt b/src/test/kotlin/com/asap/asapbackend/domain/todo/presentation/TodoControllerTest.kt index 9f54b5f2..b47da0ae 100644 --- a/src/test/kotlin/com/asap/asapbackend/domain/todo/presentation/TodoControllerTest.kt +++ b/src/test/kotlin/com/asap/asapbackend/domain/todo/presentation/TodoControllerTest.kt @@ -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) )) } @@ -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)") ) ) )