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
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