parent
823956395b
commit
4211998959
17 changed files with 0 additions and 2052 deletions
|
|
@ -24,13 +24,3 @@ async def test_api_public_payment_longpolling_wrong_hash(client, invoice):
|
|||
)
|
||||
assert response.status_code == 404
|
||||
assert response.json()["detail"] == "Payment does not exist."
|
||||
|
||||
|
||||
# check GET /.well-known/lnurlp/{username}: wrong username [should fail]
|
||||
@pytest.mark.asyncio
|
||||
async def test_lnaddress_wrong_hash(client):
|
||||
username = "wrong_name"
|
||||
response = await client.get(f"/.well-known/lnurlp/{username}")
|
||||
assert response.status_code == 200
|
||||
assert response.json()["status"] == "ERROR"
|
||||
assert response.json()["reason"] == "Address not found."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue