From c4c3cf338c703dd9a2696472d6d80a3bb249f575 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Thu, 6 Apr 2017 12:38:41 +0200
Subject: [PATCH] unit tests adapted to new code

---
 smash/web/tests/test_view_notifications.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smash/web/tests/test_view_notifications.py b/smash/web/tests/test_view_notifications.py
index 9c47d92d..9185900e 100644
--- a/smash/web/tests/test_view_notifications.py
+++ b/smash/web/tests/test_view_notifications.py
@@ -400,7 +400,7 @@ class NotificationViewTests(LoggedInTestCase):
         original_without_visit_notification = get_subject_with_no_visit_notifications_count(self.user)
         original_notification = get_subjects_with_reminder_count(self.user)
         subject = create_subject()
-        subject.datetime_contact_reminder = get_today_midnight_date() + datetime.timedelta(hours=23)
+        subject.datetime_contact_reminder = get_today_midnight_date() + datetime.timedelta(hours=1)
         subject.save()
 
         notification = get_subjects_with_reminder_count(self.user)
-- 
GitLab