diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 14:23:07 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-05-29 14:23:07 +0100 |
commit | 739b3dd6aa383f70e5442e74fb4d217d5619d110 (patch) | |
tree | 54d9ef6fad57c7dbc6283b0a2cc2cd73955dc80c /ctrack/organisations/tests/test_views.py | |
parent | 8edc6a41c160ff75e964db45371e4ae63fb68c17 (diff) |
IncidentReport model in place and func test passing so far
Diffstat (limited to '')
-rw-r--r-- | ctrack/organisations/tests/test_views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |