We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 905f8f1 commit b5f5bf4Copy full SHA for b5f5bf4
src/test/java/roomescape/MissionStepTest.java
@@ -181,4 +181,19 @@ public class MissionStepTest {
181
.then().log().all()
182
.statusCode(204);
183
}
184
+
185
+ @Test
186
+ void 구단계() {
187
+ Map<String, String> reservation = new HashMap<>();
188
+ reservation.put("name", "브라운");
189
+ reservation.put("date", "2023-08-05");
190
+ reservation.put("time", "10:00");
191
192
+ RestAssured.given().log().all()
193
+ .contentType(ContentType.JSON)
194
+ .body(reservation)
195
+ .when().post("/reservations")
196
+ .then().log().all()
197
+ .statusCode(400);
198
+ }
199
0 commit comments