Add a payments page for admin (#2910)

This commit is contained in:
Tiago Vasconcelos
2025-02-06 12:48:54 +00:00
committed by GitHub
parent c1d26bb274
commit 34a959f0bc
20 changed files with 1416 additions and 54 deletions

View File

@@ -337,10 +337,10 @@ async def test_get_payments(client, inkey_fresh_headers_to, fake_payments):
payments = await get_payments({"sortby": "amount", "direction": "asc"})
assert payments[-1].amount > payments[0].amount
payments = await get_payments({"search": "aaa"})
payments = await get_payments({"search": "xxx"})
assert len(payments) == 1
payments = await get_payments({"search": "aa"})
payments = await get_payments({"search": "xx"})
assert len(payments) == 2
# amount is in msat