mirror of https://github.com/statping/statping
parent
9949568963
commit
70c5b672b3
|
@ -174,7 +174,7 @@ func TestHttpRequest(t *testing.T) {
|
|||
// Close the server when test finishes
|
||||
defer server.Close()
|
||||
|
||||
body, resp, err := HttpRequest(server.URL, "GET", "application/json", []string{"aaa=bbbb=", "ccc=ddd"}, nil, 2*time.Second, false)
|
||||
body, resp, err := HttpRequest(server.URL, "GET", "application/json", []string{"aaa=bbbb=", "ccc=ddd"}, nil, 2*time.Second, false, nil)
|
||||
|
||||
assert.Nil(t, err)
|
||||
assert.Equal(t, []byte("OK"), body)
|
||||
|
|
Loading…
Reference in New Issue