Skip to content

Commit b787d02

Browse files
committed
fix: 테스트 코드 수정
- CenterQueryApiControllerTest 예외 테스트의 예외 메세지를 수정
1 parent c603ad5 commit b787d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/somemore/center/controller/CenterQueryApiControllerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void getCenterProfile_NotFound() throws Exception {
8484
.andDo(print())
8585
.andExpect(status().isBadRequest())
8686
.andExpect(jsonPath("$.status").value("400"))
87-
.andExpect(jsonPath("$.detail").value("존재하지 않는 기관 ID 입니다."));
87+
.andExpect(jsonPath("$.detail").value("존재하지 않는 기관 입니다."));
8888

8989
verify(centerQueryUseCase, times(1)).getCenterProfileByCenterId(nonExistentCenterId);
9090
}

0 commit comments

Comments
 (0)