aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/organisations/tests/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ctrack/organisations/tests/test_views.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/ctrack/organisations/tests/test_views.py b/ctrack/organisations/tests/test_views.py
index 3b8f938..85ccc5a 100644
--- a/ctrack/organisations/tests/test_views.py
+++ b/ctrack/organisations/tests/test_views.py
@@ -67,12 +67,8 @@ def test_incident_report_create_view(stakeholder_user):
def test_only_member_of_cct_user_group_can_view_a_single_person(
- stakeholder_user, org_with_people, client
+ stakeholder_user, org_with_people, client, role, submode
):
- role = RoleFactory.create()
- submode = Submode.objects.create(
- descriptor="Light Rail", mode=Mode.objects.create(descriptor="Rail")
- )
PersonFactory.create(
role=role,
predecessor=None,