From 9e704f5c72d56efc386794658ffaa3499c6c60a9 Mon Sep 17 00:00:00 2001 From: kkangh00n Date: Mon, 22 Apr 2024 21:14:10 +0900 Subject: [PATCH] =?UTF-8?q?test=20:=20=EC=BD=94=EB=93=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD=EC=9C=BC=EB=A1=9C=20=EC=9D=B8=ED=95=9C=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../room/presentation/RoomControllerTest.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/api/src/test/java/com/civilwar/boardsignal/room/presentation/RoomControllerTest.java b/api/src/test/java/com/civilwar/boardsignal/room/presentation/RoomControllerTest.java index a96895da..7a7ae58e 100644 --- a/api/src/test/java/com/civilwar/boardsignal/room/presentation/RoomControllerTest.java +++ b/api/src/test/java/com/civilwar/boardsignal/room/presentation/RoomControllerTest.java @@ -41,6 +41,7 @@ import com.civilwar.boardsignal.room.dto.response.ParticipantJpaDto; import com.civilwar.boardsignal.room.infrastructure.repository.MeetingInfoJpaRepository; import com.civilwar.boardsignal.user.UserFixture; +import com.civilwar.boardsignal.user.domain.constants.AgeGroup; import com.civilwar.boardsignal.user.domain.constants.Gender; import com.civilwar.boardsignal.user.domain.constants.Role; import com.civilwar.boardsignal.user.domain.entity.User; @@ -834,7 +835,9 @@ void participantRoomTest3() throws Exception { "nickName", "provider", "providerId", - "testURL"); + "testURL", + Gender.MALE, + AgeGroup.TWENTY); User savedUser = userRepository.save(user); Token token = tokenProvider.createToken(savedUser.getId(), Role.USER); @@ -878,7 +881,10 @@ void participantRoomTest4() throws Exception { "nickName", "provider", "providerId", - "testURL"); + "testURL", + Gender.MALE, + AgeGroup.THIRTY + ); User savedUser = userRepository.save(user); Token token = tokenProvider.createToken(savedUser.getId(), Role.USER); @@ -922,7 +928,10 @@ void participantRoomTest5() throws Exception { "nickName", "provider", "providerId", - "testURL"); + "testURL", + Gender.MALE, + AgeGroup.TWENTY + ); User savedUser = userRepository.save(user); blackListRepository.save(RoomBlackList.of(room.getId(), savedUser.getId()));