Skip to content

Commit 228c733

Browse files
authored
Update _main_test.py
1 parent 3f545a2 commit 228c733

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/_main_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,18 +337,21 @@ def test_insert_scheduled_transactions(cur):
337337
{
338338
"id": SCHEDULED_TRANSACTION_ID_1,
339339
"budget_id": BUDGET_ID_1,
340+
"frequency": "monthly",
340341
"amount": -12000,
341342
"deleted": False,
342343
},
343344
{
344345
"id": SCHEDULED_TRANSACTION_ID_2,
345346
"budget_id": BUDGET_ID_1,
347+
"frequency": "yearly",
346348
"amount": -11000,
347349
"deleted": True,
348350
},
349351
{
350352
"id": SCHEDULED_TRANSACTION_ID_3,
351353
"budget_id": BUDGET_ID_1,
354+
"frequency": "everyOtherMonth",
352355
"amount": -9000,
353356
"deleted": False,
354357
},
@@ -378,6 +381,7 @@ def test_insert_scheduled_transactions(cur):
378381
"transaction_id": SCHEDULED_TRANSACTION_ID_3,
379382
"budget_id": BUDGET_ID_1,
380383
"id": SCHEDULED_TRANSACTION_ID_3,
384+
"frequency": "monthly",
381385
"amount": -9000,
382386
"amount_major": pytest.approx(9),
383387
},
@@ -386,6 +390,7 @@ def test_insert_scheduled_transactions(cur):
386390
"subtransaction_id": SCHEDULED_SUBTRANSACTION_ID_1,
387391
"budget_id": BUDGET_ID_1,
388392
"id": SCHEDULED_SUBTRANSACTION_ID_1,
393+
"frequency": "yearly",
389394
"amount": -8040,
390395
"amount_major": pytest.approx(8.04),
391396
},
@@ -394,6 +399,7 @@ def test_insert_scheduled_transactions(cur):
394399
"subtransaction_id": SCHEDULED_SUBTRANSACTION_ID_2,
395400
"budget_id": BUDGET_ID_1,
396401
"id": SCHEDULED_SUBTRANSACTION_ID_2,
402+
"frequency": "everyOtherMonth",
397403
"amount": -2960,
398404
"amount_major": pytest.approx(2.96),
399405
},

0 commit comments

Comments
 (0)