From e290e7908a74a42af1b89abe96488f57497bc408 Mon Sep 17 00:00:00 2001 From: zetaloop Date: Sat, 25 Apr 2026 08:31:00 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=A2=9E=E5=BC=BA=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E9=87=91=E9=A2=9D=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy/dev/test_all_apis.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy/dev/test_all_apis.py b/deploy/dev/test_all_apis.py index 5891f6c..cdc28b5 100644 --- a/deploy/dev/test_all_apis.py +++ b/deploy/dev/test_all_apis.py @@ -1231,7 +1231,7 @@ def phase8_order(s_consumer: Session, s_actor: Session, player_id, service_id, s and same_id(order_obj.get("playerId"), player_id) and same_id(order_obj.get("shopId"), shop_id) and order_obj.get("status") == "pending_payment" - and as_decimal(order_obj.get("totalPrice")) == Decimal("50") + and as_decimal(order_obj.get("totalPrice")) == Decimal("60") and order_obj.get("note") == "test order", body, ) @@ -1266,7 +1266,9 @@ def phase8_order(s_consumer: Session, s_actor: Session, player_id, service_id, s "created order detail matches participants", same_id(body.get("consumerId"), consumer_user_id) and same_id(body.get("playerId"), player_id) - and same_id(body.get("shopId"), shop_id), + and same_id(body.get("shopId"), shop_id) + and as_decimal(body.get("totalPrice")) == Decimal("60") + and body.get("note") == "test order", body, )