From 739b3dd6aa383f70e5442e74fb4d217d5619d110 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Fri, 29 May 2020 14:23:07 +0100 Subject: IncidentReport model in place and func test passing so far --- ctrack/organisations/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrack/organisations/tests/test_views.py') diff --git a/ctrack/organisations/tests/test_views.py b/ctrack/organisations/tests/test_views.py index 1e2476d..cebcda9 100644 --- a/ctrack/organisations/tests/test_views.py +++ b/ctrack/organisations/tests/test_views.py @@ -36,5 +36,5 @@ def test_incident_report_create_view(): factory = RequestFactory() request = factory.get(f"{org.name}/create-incident-report") request.user = user - response = IncidentReportCreateView.as_view()(request) + response = IncidentReportCreateView.as_view()(request, org.slug) assert response.status_code == 200 -- cgit v1.2.3