Просмотр исходного кода

test: fix vehicle recharge submit fixture required fields

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu 1 месяц назад
Родитель
Сommit
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"