aboutsummaryrefslogtreecommitdiff
path: root/tests/models/gr
diff options
context:
space:
mode:
authorstuppie2026-09-04 13:03:31 -0600
committerstuppie2026-09-04 13:03:31 -0600
commitc720350aaf92d68d2f84ba05702b05acb448fa00 (patch)
tree8e3b7e3a986749c321c206eb170e5be7874b1115 /tests/models/gr
parentf8f1f07b193845d92c7f6ef8ae95b9696db6330f (diff)
downloadgeneralresearch-c720350aaf92d68d2f84ba05702b05acb448fa00.tar.gz
generalresearch-c720350aaf92d68d2f84ba05702b05acb448fa00.zip
fix gr_business_bank_account fixture. fix some more tests
Diffstat (limited to 'tests/models/gr')
-rw-r--r--tests/models/gr/test_authentication.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/models/gr/test_authentication.py b/tests/models/gr/test_authentication.py
index 881571c..7ff44d0 100644
--- a/tests/models/gr/test_authentication.py
+++ b/tests/models/gr/test_authentication.py
@@ -67,7 +67,7 @@ class TestGRUser:
gr_db: PostgresConfig,
):
product_factory(team=gr_team)
- gr_membership_factory(team=gr_team, gr_user=gr_user)
+ gr_membership_factory(gr_team=gr_team, gr_user=gr_user)
gr_user.prefetch_teams(
pg_config=gr_db,
@@ -127,7 +127,7 @@ class TestGRUserMethods:
gr_membership_factory: Callable[..., Membership],
):
product_factory(team=gr_team, business=gr_business)
- gr_membership_factory(team=gr_team, gr_user=gr_user)
+ gr_membership_factory(gr_team=gr_team, gr_user=gr_user)
res = gr_user.to_redis()
assert isinstance(res, str)
@@ -177,7 +177,7 @@ class TestGRUserMethods:
client = gr_redis_config.create_redis_client()
p1 = product_factory(team=gr_team)
- gr_membership_factory(team=gr_team, gr_user=gr_user)
+ gr_membership_factory(gr_team=gr_team, gr_user=gr_user)
gr_user.set_cache(
pg_config=gr_db, thl_web_rr=thl_web_rr, redis_config=gr_redis_config