fix bleskomat test (#523)
This commit is contained in:
parent
09b86605dd
commit
8d7302e4cd
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ async def test_bleskomat_lnurl_api_action_insufficient_balance(client, lnurl):
|
|||
response = await client.get(f"/bleskomat/u?k1={secret}&pr={pr}")
|
||||
assert response.status_code == 200
|
||||
assert response.json()["status"] == "ERROR"
|
||||
assert "Insufficient balance" in response.json()["reason"]
|
||||
assert ("Insufficient balance" in response.json()["reason"]) or ("fee" in response.json()["reason"])
|
||||
wallet = await get_wallet(bleskomat.wallet)
|
||||
assert wallet.balance_msat == 0
|
||||
bleskomat_lnurl = await get_bleskomat_lnurl(secret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue