diff --git a/tests/conftest.py b/tests/conftest.py index cb6da174530c..5ef624e5f258 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -279,7 +279,7 @@ def admin_user(session): # we need to create a new user with the admin role user = DispatchUserFactory() organization = OrganizationFactory() - user_organization = DispatchUserOrganizationFactory( + DispatchUserOrganizationFactory( dispatch_user=user, organization=organization, role=UserRoles.admin )