Commit 5620ae0f authored by 张慧's avatar 张慧

提交退款申请case补充

parent 4c57bb48
...@@ -15,6 +15,8 @@ class TestBeautyCardRefundSubmit: ...@@ -15,6 +15,8 @@ class TestBeautyCardRefundSubmit:
r = janus_request().beauty_card_refund_submit(param["order_id"], param["reason_id"], param["reason_text"], r = janus_request().beauty_card_refund_submit(param["order_id"], param["reason_id"], param["reason_text"],
param["reason_type"]) param["reason_type"])
if r["error"] == 1: if param["reason_id"] == -1:
assert r["message"] == param["assert_message"]
if param["reason_id"] != -1:
assert r["message"] == param["assert_message"] assert r["message"] == param["assert_message"]
beauty_card_refund_submit: beauty_card_refund_submit:
- -
case: "次卡-提交退款申请-接口调用成功case" case: "次卡-提交退款申请-非其他原因case"
order_id: "102813852173916" order_id: "102813852173916"
reason_id: 3 reason_id: 3
reason_text: "个人身体原因" reason_text: "个人身体原因"
reason_type: 0 reason_type: 0
assert_message: "订单已经退款"
-
case: "次卡-提交退款申请-其他原因case"
order_id: "102813852173916"
reason_id: -1
reason_text: "其他原因不得少于10个字"
reason_type: 0
assert_message: "订单已经退款" assert_message: "订单已经退款"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment