Skip to content

Commit 791a9df

Browse files
committed
fix tests
1 parent 8980707 commit 791a9df

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/resources/Account_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def test_create_card_brands(setup):
300300
'id': card_brand_create_response['id'],
301301
'account_id': test_credit_card_account['id'],
302302
'network': 'visa',
303-
'status': 'completed',
303+
'status': 'in_progress',
304304
'issuer': card_brand_create_response['issuer'],
305305
'last4': '1580',
306306
'brands': card_brand_create_response['brands'],
@@ -322,7 +322,7 @@ def test_retrieve_card_brands(setup):
322322
'id': card_brand_create_response['id'],
323323
'account_id': test_credit_card_account['id'],
324324
'network': 'visa',
325-
'status': 'completed',
325+
'status': 'in_progress',
326326
'issuer': card_brand_create_response['issuer'],
327327
'last4': '1580',
328328
'brands': card_brand_create_response['brands'],
@@ -345,7 +345,7 @@ async def test_list_card_brands(setup):
345345
'id': card_brand_create_response['id'],
346346
'account_id': test_credit_card_account['id'],
347347
'network': 'visa',
348-
'status': 'completed',
348+
'status': 'in_progress',
349349
'issuer': card_brand_create_response['issuer'],
350350
'last4': '1580',
351351
'brands': card_brand_create_response['brands'],

test/resources/Report_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_create_report():
2525
"type": "payments.created.current",
2626
"url": f"https://dev.methodfi.com/reports/{report_create_response['id']}/download",
2727
"status": "completed",
28-
"metadata": None,
28+
"metadata": report_create_response["metadata"],
2929
"created_at": report_create_response["created_at"],
3030
"updated_at": report_create_response["updated_at"],
3131
}
@@ -43,7 +43,7 @@ def test_retrieve_report():
4343
"type": "payments.created.current",
4444
"url": f"https://dev.methodfi.com/reports/{report_create_response['id']}/download",
4545
"status": "completed",
46-
"metadata": None,
46+
"metadata": report_create_response["metadata"],
4747
"created_at": report_retrieve_response["created_at"],
4848
"updated_at": report_retrieve_response["updated_at"],
4949
}

0 commit comments

Comments
 (0)