aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/register/tests
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-16 10:36:11 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-16 10:36:11 +0100
commitc0067e3dd35f56ad0cf9452f9ef1e8532b6378b4 (patch)
tree9c834f6f194f0f38046975870c3504d4292ad8f5 /ctrack/register/tests
parent2b11d0e43378c27b250e93e91b9bdc10346af44e (diff)
added URL field for a simple event
Diffstat (limited to 'ctrack/register/tests')
-rw-r--r--ctrack/register/tests/test_event_models.py1
-rw-r--r--ctrack/register/tests/test_forms.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/ctrack/register/tests/test_event_models.py b/ctrack/register/tests/test_event_models.py
index 6469ea7..e92b282 100644
--- a/ctrack/register/tests/test_event_models.py
+++ b/ctrack/register/tests/test_event_models.py
@@ -170,6 +170,7 @@ def test_single_datetime_event(person, user, allowed_type):
event = SingleDateTimeEvent.objects.create(
type_descriptor=allowed_type,
short_description="Important event",
+ url = "http://fake.url.com",
requested_response_date="2021-01-24",
response_received_date=None,
datetime="2020-10-10T15:00",
diff --git a/ctrack/register/tests/test_forms.py b/ctrack/register/tests/test_forms.py
index 16d81ae..ac21abb 100644
--- a/ctrack/register/tests/test_forms.py
+++ b/ctrack/register/tests/test_forms.py
@@ -53,6 +53,7 @@ def test_create_simple_datetime_event(user):
"datetime": "2010-10-10 10:00",
"requested_response_date": "2020-12-24",
"response_received_date": "2020-12-25",
+ "url": "https://fake.url.com",
"comments": "Test Comments not needed"
}, user=user,
)