From f2b983adf059e9fe7c28a9417fc76b0f1672a51a Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Wed, 21 Oct 2020 15:21:45 +0100 Subject: fixed broken tests --- ctrack/register/tests/test_forms.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ctrack/register/tests/test_forms.py b/ctrack/register/tests/test_forms.py index 4a9e818..e059cdf 100644 --- a/ctrack/register/tests/test_forms.py +++ b/ctrack/register/tests/test_forms.py @@ -164,7 +164,7 @@ def test_cannot_do_some_caf_single_date_events_on_same_day(allowed_type, user, c "date": "2010-07-01", "comments": "Meaningless comments", }, - user=user, + user=user, caf_id=caf.id ) form2 = CAFSingleDateEventForm( { @@ -174,7 +174,7 @@ def test_cannot_do_some_caf_single_date_events_on_same_day(allowed_type, user, c "date": "2010-07-01", "comments": "Meaningless comments", }, - user=user, + user=user, caf_id=caf.id ) assert form1.is_valid() form1.save() @@ -192,7 +192,7 @@ def test_can_register_two_send_to_rosa_events_on_same_day(user, caf): "date": "2010-07-01", "comments": "Meaningless comments", }, - user=user, + user=user, caf_id=caf.id ) form2 = CAFSingleDateEventForm( { @@ -202,7 +202,7 @@ def test_can_register_two_send_to_rosa_events_on_same_day(user, caf): "date": "2010-07-01", "comments": "Meaningless comments 2", }, - user=user, + user=user, caf_id=caf.id ) assert form1.is_valid() assert form2.is_valid() -- cgit v1.2.3