Skip to content

Commit 463c3ae

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

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/e2e/accounts/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ def account_icon(logo_fd):
2222

2323

2424
@pytest.fixture
25-
def currencies():
26-
return ["USD", "EUR"]
25+
def currency():
26+
return "USD"
2727

2828

2929
@pytest.fixture

tests/e2e/accounts/sellers/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ def invalid_seller_id():
77

88

99
@pytest.fixture
10-
def seller_factory(currencies):
10+
def seller_factory(currency):
1111
def _seller(
1212
external_id: str, # Must be unique in Marketplace
1313
name="E2E Test Seller",
14-
currencies=currencies,
14+
currency=currency,
1515
):
1616
return {
1717
"name": name,
@@ -22,7 +22,7 @@ def _seller(
2222
"postCode": "12345",
2323
"country": "US",
2424
},
25-
"currencies": currencies,
25+
"currency": currency,
2626
"externalId": external_id,
2727
}
2828

0 commit comments

Comments
 (0)