From c8a7e8d52e26481163d0c8fc9d390fa3e1cd4807 Mon Sep 17 00:00:00 2001 From: u-genuine Date: Fri, 19 Jan 2024 21:45:11 +0900 Subject: [PATCH] =?UTF-8?q?:sparkles:=20modify=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=84=B1=EA=B3=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/NangmanLetterServiceTests.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/test/java/aromanticcat/umcproject/service/NangmanLetterServiceTests.java b/src/test/java/aromanticcat/umcproject/service/NangmanLetterServiceTests.java index 2b51e91..5da3c47 100644 --- a/src/test/java/aromanticcat/umcproject/service/NangmanLetterServiceTests.java +++ b/src/test/java/aromanticcat/umcproject/service/NangmanLetterServiceTests.java @@ -41,4 +41,16 @@ public void testRegister(){ System.out.println("id: " + id); } + + @Test + public void testModify(){ + + //변경에 필요한 데이터만 + NangmanLetterDTO nangmanLetterDTO = NangmanLetterDTO.builder() + .id(4L) + .has_response(true) + .build(); + + nangmanLetterService.modify(nangmanLetterDTO); + } }