Skip to content

Commit

Permalink
[test] 쿠폰 응답 테스트 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tkddn204 committed Jan 23, 2024
1 parent 1a75919 commit d427a1b
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ void searchCoupon_success() throws Exception {
fieldWithPath("content[].coupon_status").type(JsonFieldType.STRING).description("쿠폰 상태"),
fieldWithPath("content[].coupon_concat_title").type(JsonFieldType.STRING).description("고객 유형 + 할인 유형 + 할인의 값"),
fieldWithPath("content[].discount_type").type(JsonFieldType.STRING).description("할인의 유형"),
fieldWithPath("content[].discount_value").type(JsonFieldType.NUMBER).description("할인의 값"),
fieldWithPath("content[].discount_flat_value").type(JsonFieldType.NUMBER).description("정액 할인의 값").optional(),
fieldWithPath("content[].discount_flat_rate").type(JsonFieldType.NUMBER).description("정률 할인의 비율").optional(),
fieldWithPath("content[].maximum_discount_price").type(JsonFieldType.NUMBER).description("정률 할인일 때 최대 할인 한도").optional(),
fieldWithPath("content[].customer_type").type(JsonFieldType.STRING).description("고객의 유형"),
fieldWithPath("content[].coupon_room_type").type(JsonFieldType.STRING).description("객실의 유형"),
fieldWithPath("content[].minimum_reservation_price").type(JsonFieldType.NUMBER).description("최소 예약 가격"),
Expand Down Expand Up @@ -269,7 +271,9 @@ void getCouponRecentHistory_success() throws Exception {
fieldWithPath("[].coupon_status").type(JsonFieldType.STRING).description("쿠폰 상태"),
fieldWithPath("[].coupon_concat_title").type(JsonFieldType.STRING).description("고객 유형 + 할인 유형 + 할인의 값"),
fieldWithPath("[].discount_type").type(JsonFieldType.STRING).description("할인의 유형"),
fieldWithPath("[].discount_value").type(JsonFieldType.NUMBER).description("할인의 값"),
fieldWithPath("[].discount_flat_value").type(JsonFieldType.NUMBER).description("정액 할인의 값").optional(),
fieldWithPath("[].discount_flat_rate").type(JsonFieldType.NUMBER).description("정률 할인의 비율").optional(),
fieldWithPath("[].maximum_discount_price").type(JsonFieldType.NUMBER).description("정률 할인일 때 최대 할인 한도").optional(),
fieldWithPath("[].customer_type").type(JsonFieldType.STRING).description("고객의 유형"),
fieldWithPath("[].coupon_room_type").type(JsonFieldType.STRING).description("객실의 유형"),
fieldWithPath("[].minimum_reservation_price").type(JsonFieldType.NUMBER).description("최소 예약 가격"),
Expand Down Expand Up @@ -342,7 +346,9 @@ void getCouponByCouponNumber_success() throws Exception {
fieldWithPath("coupon_status").type(JsonFieldType.STRING).description("쿠폰 상태"),
fieldWithPath("coupon_concat_title").type(JsonFieldType.STRING).description("고객 유형 + 할인 유형 + 할인의 값"),
fieldWithPath("discount_type").type(JsonFieldType.STRING).description("할인의 유형"),
fieldWithPath("discount_value").type(JsonFieldType.NUMBER).description("할인의 값"),
fieldWithPath("discount_flat_value").type(JsonFieldType.NUMBER).description("정액 할인의 값").optional(),
fieldWithPath("discount_flat_rate").type(JsonFieldType.NUMBER).description("정률 할인의 비율").optional(),
fieldWithPath("maximum_discount_price").type(JsonFieldType.NUMBER).description("정률 할인일 때 최대 할인 한도").optional(),
fieldWithPath("customer_type").type(JsonFieldType.STRING).description("고객의 유형"),
fieldWithPath("coupon_room_type").type(JsonFieldType.STRING).description("객실의 유형"),
fieldWithPath("minimum_reservation_price").type(JsonFieldType.NUMBER).description("최소 예약 가격"),
Expand Down

0 comments on commit d427a1b

Please sign in to comment.