This commit is contained in:
Arc
2026-05-15 12:09:03 +01:00
parent 29b1ace1e0
commit db89a8f608
5 changed files with 31 additions and 10 deletions
+3 -1
View File
@@ -182,7 +182,9 @@ async def test_callback_api_handles_revolut_paid_events(mocker):
@pytest.mark.anyio
async def test_callback_api_handles_revolut_subscription_event(mocker, settings: Settings):
async def test_callback_api_handles_revolut_subscription_event(
mocker, settings: Settings
):
user = await create_user_account(
Account(
id=uuid4().hex,
+3 -1
View File
@@ -795,7 +795,9 @@ async def test_revolut_wallet_create_invoice(settings: Settings):
assert response.ok is True
assert response.checking_id == "order_ORDER123"
assert response.payment_request == "https://checkout.revolut.com/payment-link/abc123"
assert (
response.payment_request == "https://checkout.revolut.com/payment-link/abc123"
)
assert client.calls[0][0] == "/api/orders"
payload = client.calls[0][1]["json"]
assert payload["amount"] == 123