Skip to content

Commit 7926ba8

Browse files
committed
MPT-18902 E2E API client exception with the seller tests
1 parent a158735 commit 7926ba8

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

tests/e2e/accounts/conftest.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,18 @@ def account_icon(logo_fd):
2323

2424
@pytest.fixture
2525
def currencies():
26-
return ["USD", "EUR"]
26+
return [
27+
{
28+
"value": "EUR",
29+
"billingEnabled": False,
30+
"isDefault": False
31+
},
32+
{
33+
"value": "USD",
34+
"billingEnabled": True,
35+
"isDefault": True
36+
}
37+
]
2738

2839

2940
@pytest.fixture

tests/e2e/accounts/sellers/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def _seller(
2222
"postCode": "12345",
2323
"country": "US",
2424
},
25-
"currencies": currencies,
25+
"currency": currencies,
2626
"externalId": external_id,
2727
}
2828

0 commit comments

Comments
 (0)