forked from GithubBackups/healthchecks
Fix MySQL tests.
This commit is contained in:
parent
32e31dae8a
commit
6ae12dbb18
@ -12,6 +12,11 @@ class LogTestCase(BaseTestCase):
|
||||
ping = Ping(owner=self.check)
|
||||
ping.save()
|
||||
|
||||
# Older MySQL versions don't store microseconds. This makes sure
|
||||
# the ping is older than any notifications we may create later:
|
||||
ping.created = "2000-01-01T00:00:00+00:00"
|
||||
ping.save()
|
||||
|
||||
def test_it_works(self):
|
||||
url = "/checks/%s/log/" % self.check.code
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user