(status int, message string)
| 45 | } |
| 46 | |
| 47 | func errorResponse(status int, message string) httpmock.Responder { |
| 48 | return httpmock.StatusJSONResponse(status, map[string]string{"message": message}) |
| 49 | } |
| 50 | |
| 51 | func TestCreateSubscription(t *testing.T) { |
| 52 | for _, status := range []int{http.StatusCreated, http.StatusOK} { |
no test coverage detected