Commit 8f5e2002 authored by 张慧's avatar 张慧

次卡订单详情页case完善

parent edf059f6
......@@ -16,6 +16,8 @@ class TestBeautyCardPaymentDetail:
payment_id = payment["data"]["payment_id"]
r = janus_request().beauty_card_payment_detail(payment_id)
if r["error"] == 0:
if param["case"] == "次卡订单详情-接口调用成功case":
assert r["error"] == param["assert_error"]
if param["case"] == "次卡订单详情-校验商品信息不为空":
assert r["data"]["services"] != param["assert_services"]
beauty_card_payment_detail:
-
case: "次卡订单详情-接口调用成功case"
assert_error: 0
\ No newline at end of file
assert_error: 0
-
case: "次卡订单详情-校验商品信息不为空"
assert_services: {}
\ 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