forked from GithubBackups/healthchecks
Fix tests.
This commit is contained in:
parent
491999db00
commit
5f59d97d21
@ -91,6 +91,7 @@ class CheckModelTestCase(TestCase):
|
|||||||
check.schedule = "0 * * * *"
|
check.schedule = "0 * * * *"
|
||||||
check.status = "up"
|
check.status = "up"
|
||||||
check.last_ping = dt
|
check.last_ping = dt
|
||||||
|
check.save()
|
||||||
|
|
||||||
d = check.to_dict()
|
d = check.to_dict()
|
||||||
self.assertEqual(d["next_ping"], "2000-01-01T01:00:00+00:00")
|
self.assertEqual(d["next_ping"], "2000-01-01T01:00:00+00:00")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user