ソースを参照

test: fix vehicle recharge submit fixture required fields

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu 1 ヶ月 前
親
コミット
7f1f60e259
1 ファイル変更、2 行追加、0 行削除
  1. 2 0
      backend/tests/test_pl_vehicle_recharge_workflow.py

+ 2 - 0
backend/tests/test_pl_vehicle_recharge_workflow.py

@@ -130,6 +130,8 @@ def test_submit_sets_in_approval_and_first_node(monkeypatch):
             licensePlate="鄂A00001",
             rechargeType="etc",
             applyDate=date(2026, 9, 26),
+            odometerKm=Decimal("1000"),
+            attachmentUrls="https://example.com/a.jpg",
         ),
     )
     assert created.status == "draft"