Skip to content

Commit

Permalink
test: 미사용 테스트 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizyHub committed Aug 27, 2024
1 parent ee6e3a1 commit 263f726
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import java.util.List;
import java.util.UUID;
import java.util.stream.Stream;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -51,6 +53,7 @@ void willReturn400IfEmptyRequest() throws Exception {

@Test
@DisplayName("모든 요청에 예외가 발생하면 400 에러를 반환한다.")
@Disabled("Controller에서 더 이상 검증하지 않습니다.")
void willReturn400IfAllRequestsAreInvalid() throws Exception {
// Arrange
List<CreateLogRequest> expectedWrongRequest = List.of(
Expand Down Expand Up @@ -132,6 +135,7 @@ void willReturn400IfAppKeyIsMissing() throws Exception {
.andExpect(status().isBadRequest());
}

@Disabled("Controller에서 더 이상 검증하지 않습니다.")
@ParameterizedTest
@DisplayName("잘못된 입력으로 로그 생성 시 400 에러를 반환한다.")
@MethodSource("invalidLogCreationInputs")
Expand Down

0 comments on commit 263f726

Please sign in to comment.