pull/94/head
Hunter Long 2018-11-01 17:24:44 +01:00
parent 5f95b72744
commit df2501d0c8
2 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ func RunSelectAllNotifiers(t *testing.T) {
notifier.SetDB(core.DbSession)
core.CoreApp.Notifications = notifier.Load()
assert.Nil(t, err)
assert.Equal(t, 6, len(core.CoreApp.Notifications))
assert.Equal(t, 7, len(core.CoreApp.Notifications))
}
func RunUserSelectAll(t *testing.T) {

View File

@ -48,7 +48,7 @@ func TestSelectAllServices(t *testing.T) {
func TestServiceDowntime(t *testing.T) {
service := SelectService(15)
downtime := service.Downtime()
assert.True(t, downtime.Minutes() > 0)
assert.True(t, downtime.Seconds() > 0)
}
func TestSelectTCPService(t *testing.T) {