(t *testing.T)
| 89 | } |
| 90 | |
| 91 | func TestClientBadUrlError(t *testing.T) { |
| 92 | n := mockNotification() |
| 93 | res, err := mockClient("badurl://badurl.com").Push(n) |
| 94 | assert.Error(t, err) |
| 95 | assert.Nil(t, res) |
| 96 | } |
| 97 | |
| 98 | func TestClientBadTransportError(t *testing.T) { |
| 99 | n := mockNotification() |
nothing calls this directly
no test coverage detected