get rid of fixture

This commit is contained in:
Corey Johnson 2020-04-29 11:31:40 -07:00
parent 1b37681a6f
commit 83ec49582b
2 changed files with 1 additions and 4 deletions

View file

@ -693,9 +693,7 @@ func TestIssueClose(t *testing.T) {
} } }
`))
jsonFile, _ := os.Open("../test/fixtures/issueClose.json")
defer jsonFile.Close()
http.StubResponse(200, jsonFile)
http.StubResponse(200, bytes.NewBufferString(`{"id": "THE-ID"}`))
output, err := RunCommand(issueCloseCmd, "issue close 13")
if err != nil {

View file

@ -1 +0,0 @@
{ "id": "hi" }