mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-30 18:40:58 +02:00
Merge pull request #1141 from lnbits/fix-tests
fix failing tests because it to low balance in wallet
This commit is contained in:
@ -60,7 +60,7 @@ async def from_wallet(from_user):
|
|||||||
wallet = await create_wallet(user_id=user.id, wallet_name="test_wallet_from")
|
wallet = await create_wallet(user_id=user.id, wallet_name="test_wallet_from")
|
||||||
await credit_wallet(
|
await credit_wallet(
|
||||||
wallet_id=wallet.id,
|
wallet_id=wallet.id,
|
||||||
amount=99999999,
|
amount=999999999,
|
||||||
)
|
)
|
||||||
yield wallet
|
yield wallet
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ async def to_wallet(to_user):
|
|||||||
wallet = await create_wallet(user_id=user.id, wallet_name="test_wallet_to")
|
wallet = await create_wallet(user_id=user.id, wallet_name="test_wallet_to")
|
||||||
await credit_wallet(
|
await credit_wallet(
|
||||||
wallet_id=wallet.id,
|
wallet_id=wallet.id,
|
||||||
amount=99999999,
|
amount=999999999,
|
||||||
)
|
)
|
||||||
yield wallet
|
yield wallet
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user