test: refactor to not use paid_invoices stream for real invoice tests (#2628)
This commit is contained in:
parent
ddb8fcb986
commit
40ffa7dea0
5 changed files with 55 additions and 58 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue