diff --git a/src/test/java/team1/be/seamless/e2e/ProjectE2ETest.java b/src/test/java/team1/be/seamless/e2e/ProjectE2ETest.java index 4ec302ac..f2fee766 100644 --- a/src/test/java/team1/be/seamless/e2e/ProjectE2ETest.java +++ b/src/test/java/team1/be/seamless/e2e/ProjectE2ETest.java @@ -92,7 +92,7 @@ public void setUp() { } @Test - void 프로젝트_날짜_수정_성공() { + void 프로젝트_종료일은_태스크의_가장_늦은_종료일보다_뒤여야_합니다() { ProjectUpdate body = new ProjectUpdate( "프로젝트 이름1", "프로젝트 설명1", @@ -106,7 +106,7 @@ public void setUp() { requestEntity, String.class); System.out.println(responseEntity.getBody()); - assertThat(responseEntity.getStatusCode()).isEqualTo(OK); + assertThat(responseEntity.getStatusCode()).isEqualTo(BAD_REQUEST); } @Test