aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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