Skip to content

Commit

Permalink
test : 코드 변경으로 인한 테스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kkangh00n committed Apr 22, 2024
1 parent d33a3f0 commit 9e704f5
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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()));
Expand Down

0 comments on commit 9e704f5

Please sign in to comment.