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")