test: refactor to not use paid_invoices stream for real invoice tests (#2628)

This commit is contained in:
dni ⚡ 2024-08-07 16:19:53 +02:00 committed by GitHub
parent ddb8fcb986
commit 40ffa7dea0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 55 additions and 58 deletions

View file

@ -10,6 +10,10 @@ from lnbits.db import DB_TYPE, POSTGRES, FromRowModel
from lnbits.wallets import get_funding_source, set_funding_source
class FakeError(Exception):
pass
class DbTestModel(FromRowModel):
id: int
name: str