pull/604/head v0.90.41
hunterlong 2020-05-20 01:36:02 -07:00
parent 9949568963
commit 70c5b672b3
1 changed files with 1 additions and 1 deletions

View File

@ -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)