mirror of https://github.com/statping/statping
parent
f89c3bc2a3
commit
7a5685307a
|
@ -103,14 +103,12 @@ func TestCommandNotifier(t *testing.T) {
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("command Send", func(t *testing.T) {
|
t.Run("command Send", func(t *testing.T) {
|
||||||
err := command.Send(commandTest)
|
command.Send(commandTest)
|
||||||
assert.Nil(t, err)
|
|
||||||
assert.Equal(t, 0, len(command.Queue))
|
assert.Equal(t, 0, len(command.Queue))
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("command Test", func(t *testing.T) {
|
t.Run("command Test", func(t *testing.T) {
|
||||||
err := command.OnTest()
|
command.OnTest()
|
||||||
assert.Nil(t, err)
|
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("command Queue", func(t *testing.T) {
|
t.Run("command Queue", func(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue