Skip to content

Commit

Permalink
<REFACTOR> 예약 관련 비즈니스 로직에 맞게 테스트 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
davidolleh committed Jan 15, 2025
1 parent 00e7cc5 commit f3250e9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 256 deletions.
6 changes: 3 additions & 3 deletions src/test/java/roomescape/CoreStepTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ public class CoreStepTest {
.when().post("/times")
.then().log().all()
.statusCode(201)
.header("Location", "/times/3");
.header("Location", "/times/6");

RestAssured.given().log().all()
.when().get("/times")
.then().log().all()
.statusCode(200)
.body("size()", is(3));
.body("size()", is(6));

RestAssured.given().log().all()
.when().delete("/times/3")
Expand All @@ -51,7 +51,7 @@ public class CoreStepTest {
void 구단계() {
Map<String, String> reservation = new HashMap<>();
reservation.put("name", "브라운");
reservation.put("date", "2023-08-05");
reservation.put("date", "2025-10-27");
reservation.put("time", "10:00");

RestAssured.given().log().all()
Expand Down
123 changes: 0 additions & 123 deletions src/test/java/roomescape/JDBCStepTest.java

This file was deleted.

130 changes: 0 additions & 130 deletions src/test/java/roomescape/MissionStepTest.java

This file was deleted.

0 comments on commit f3250e9

Please sign in to comment.