mirror of
https://github.com/interviewstreet/go-jira.git
synced 2025-02-03 13:11:49 +02:00
fixed test case
This commit is contained in:
parent
8e67015ef3
commit
1eae640dbf
@ -231,8 +231,7 @@ func TestDo_HTTPResponse(t *testing.T) {
|
||||
})
|
||||
|
||||
req, _ := testClient.NewRequest("GET", "/", nil)
|
||||
body := new(foo)
|
||||
res, _ := testClient.Do(req, body)
|
||||
res, _ := testClient.Do(req, nil)
|
||||
_, err := ioutil.ReadAll(res.Body)
|
||||
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user