mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-15 13:00:14 +02:00
fix: tst message
This commit is contained in:
parent
b6c6112cf0
commit
dceba8a16d
2 changed files with 2 additions and 2 deletions
|
|
@ -262,7 +262,7 @@ async def test_create_fiat_subscription_invoice_rejected(
|
|||
|
||||
assert response.status_code == 400
|
||||
assert response.json()["detail"] == (
|
||||
"Subscription fiat payments can only be created by provider callbacks."
|
||||
"Cannot create direct fiat subscription payments."
|
||||
)
|
||||
fiat_mock.assert_not_awaited()
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ async def test_create_payment_request_rejects_fiat_subscription(
|
|||
|
||||
with pytest.raises(
|
||||
ValueError,
|
||||
match="Subscription fiat payments can only be created by provider callbacks.",
|
||||
match="Cannot create direct fiat subscription payments.",
|
||||
):
|
||||
await create_payment_request(
|
||||
"wallet-1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue