MCPcopy
hub / github.com/sideshow/apns2 / TestClientBadUrlError

Function TestClientBadUrlError

client_test.go:91–96  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

89}
90
91func 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
98func TestClientBadTransportError(t *testing.T) {
99 n := mockNotification()

Callers

nothing calls this directly

Calls 3

mockNotificationFunction · 0.85
mockClientFunction · 0.85
PushMethod · 0.80

Tested by

no test coverage detected