From 5f59d97d2183c98d5549c4e6afdf2060ca37d062 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Thu, 8 Nov 2018 12:27:24 +0200 Subject: [PATCH] Fix tests. --- hc/api/tests/test_check_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hc/api/tests/test_check_model.py b/hc/api/tests/test_check_model.py index 8a72980a..8c019528 100644 --- a/hc/api/tests/test_check_model.py +++ b/hc/api/tests/test_check_model.py @@ -91,6 +91,7 @@ class CheckModelTestCase(TestCase): check.schedule = "0 * * * *" check.status = "up" check.last_ping = dt + check.save() d = check.to_dict() self.assertEqual(d["next_ping"], "2000-01-01T01:00:00+00:00")