(t *testing.T, data []byte)
| 334 | } |
| 335 | |
| 336 | func unmarshalResponse(t *testing.T, data []byte) hooks.Response { |
| 337 | t.Helper() |
| 338 | var msg hooks.Response |
| 339 | err := json.Unmarshal(data, &msg) |
| 340 | assert.NilError(t, err) |
| 341 | return msg |
| 342 | } |
no outgoing calls
no test coverage detected