4 "github.com/stretchr/testify/assert"
8 func TestSend_http_request(t *testing.T) {
21 validate := func(t *testing.T, tc *testCase) {
22 t.Run(tc.Name, func(t *testing.T) {
23 actualBool := Send_http_request(tc.Json, tc.Method, tc.Url, tc.Retry, tc.UseAuth)
25 assert.Equal(t, tc.ExpectedBool, actualBool)
29 validate(t, &testCase{})