From 2f6066e1da78755f7a01efcfd6ebbe4d058a5d4e Mon Sep 17 00:00:00 2001 From: ymkim97 Date: Fri, 1 Dec 2023 01:25:42 +0900 Subject: [PATCH] =?UTF-8?q?test:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/moabam/api/presentation/RoomControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/moabam/api/presentation/RoomControllerTest.java b/src/test/java/com/moabam/api/presentation/RoomControllerTest.java index a1c850e7..765d6f38 100644 --- a/src/test/java/com/moabam/api/presentation/RoomControllerTest.java +++ b/src/test/java/com/moabam/api/presentation/RoomControllerTest.java @@ -850,7 +850,7 @@ void get_room_details_test() throws Exception { dailyRoomCertificationRepository.save(dailyRoomCertification); DailyRoomCertification dailyRoomCertification1 = RoomFixture.dailyRoomCertification(room.getId(), - LocalDate.of(LocalDate.now().getYear(), LocalDate.now().getMonth(), LocalDate.now().getDayOfMonth() - 3)); + LocalDate.now().minusDays(3)); dailyRoomCertificationRepository.save(dailyRoomCertification1); // expected