Merge pull request #1141 from lnbits/fix-tests

fix failing tests because it to low balance in wallet
This commit is contained in:
Vlad Stan
2022-11-22 11:52:00 +02:00
committed by GitHub

View File

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