aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/tests/test_forms.py
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-21 14:49:36 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-21 14:49:36 +0100
commitd4e6e7b3c8f10c6671cecea2c2ca42578678eb4a (patch)
tree5d50ce13ae5f391ac12a0ae37e39399649d91951 /ctrack/register/tests/test_forms.py
parent6d2cd94729a20904d5970b895e686af40353868e (diff)
can now add caf single date events to caf detail page
Diffstat (limited to '')
-rw-r--r--ctrack/register/tests/test_forms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/register/tests/test_forms.py b/ctrack/register/tests/test_forms.py
index 1ba1cf9..4a9e818 100644
--- a/ctrack/register/tests/test_forms.py
+++ b/ctrack/register/tests/test_forms.py
@@ -137,7 +137,7 @@ def test_create_note(user, org_with_people):
"CAF_VALIDATION_RECORD_EMAILED_TO_OES",
],
)
-def test_allowable_caf_single_date_event_forms(allowed_type, user, caf):
+def test_caf_single_date_event_forms(allowed_type, user, caf):
form = CAFSingleDateEventForm(
{
"type_descriptor": allowed_type,
@@ -146,7 +146,7 @@ def test_allowable_caf_single_date_event_forms(allowed_type, user, caf):
"date": "2010-07-01",
"comments": "Meaningless comments",
},
- user=user,
+ user=user, caf_id=caf.id
)
assert form.is_valid()