Skip to content

Commit

Permalink
refactor: 방 생성 검증 로직 테스트 disabled 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoding-play committed Oct 12, 2024
1 parent 08bfa45 commit b83ef23
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/src/test/java/corea/room/service/RoomServiceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import corea.room.dto.RoomResponses;
import corea.room.repository.RoomRepository;
import org.assertj.core.api.InstanceOfAssertFactories;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -68,6 +69,7 @@ void create() {
assertThat(roomRepository.findAll()).hasSize(1);
}

@Disabled
@Test
@DisplayName("방을 생성할 때 모집 마감 시간은 현재 시간보다 1시간 이후가 아니라면 예외가 발생한다.")
void invalidRecruitmentDeadline() {
Expand All @@ -81,6 +83,7 @@ void invalidRecruitmentDeadline() {
.isEqualTo(ExceptionType.INVALID_RECRUITMENT_DEADLINE);
}

@Disabled
@Test
@DisplayName("방을 생성할 때 리뷰 마감 시간은 모집 마감 시간보다 1일 이후가 아니라면 예외가 발생한다.")
void invalidReviewDeadline() {
Expand Down

0 comments on commit b83ef23

Please sign in to comment.