mirror of https://github.com/statping/statping
test fix
parent
d0c129f93b
commit
ae3735f0cf
|
@ -469,7 +469,7 @@ func TestServices(t *testing.T) {
|
|||
item, err := Find(1)
|
||||
require.Nil(t, err)
|
||||
amount := item.Downtime().Seconds()
|
||||
assert.GreaterOrEqual(t, float64(75), amount)
|
||||
assert.GreaterOrEqual(t, int64(75), int64(amount))
|
||||
})
|
||||
|
||||
t.Run("Test Failures Since", func(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue