aboutsummaryrefslogtreecommitdiff
path: root/tests/managers/thl/test_ledger/test_wallet.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/managers/thl/test_ledger/test_wallet.py')
-rw-r--r--tests/managers/thl/test_ledger/test_wallet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/managers/thl/test_ledger/test_wallet.py b/tests/managers/thl/test_ledger/test_wallet.py
index dc1feec..0a1da73 100644
--- a/tests/managers/thl/test_ledger/test_wallet.py
+++ b/tests/managers/thl/test_ledger/test_wallet.py
@@ -56,7 +56,7 @@ class TestGetUserWalletBalance:
assert (
schrute_product.payout_config.payout_format == "{payout:,.0f} Schrute Bucks"
)
- user: User = user_factory(schrute_product)
+ user: User = user_factory(product=schrute_product)
balance = thl_ledger_manager.get_user_wallet_balance(user=user)
assert balance == 0
assert isinstance(user.product, Product)
@@ -78,7 +78,7 @@ class TestGetUserWalletBalance:
thl_ledger_manager: ThlLedgerManager,
session_with_tx_factory: Callable[..., None],
):
- user: User = user_factory(schrute_product)
+ user: User = user_factory(product=schrute_product)
thl_ledger_manager.create_tx_user_bonus(
user=user,
amount=Decimal(1),