Update tests/core/views/test_api.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
committed by
dni
co-authored by
calle
parent
e939b9a5aa
commit
b865fad95e
@@ -165,7 +165,7 @@ async def test_api_payment_without_key(invoice):
|
|||||||
response = await api_payment(invoice["payment_hash"])
|
response = await api_payment(invoice["payment_hash"])
|
||||||
assert type(response) == dict
|
assert type(response) == dict
|
||||||
assert response["paid"] == True
|
assert response["paid"] == True
|
||||||
# not key, that's why no "details"
|
# no key, that's why no "details"
|
||||||
assert "details" not in response
|
assert "details" not in response
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user