Add Ref to Issue structs #466

Merged
6543 merged 3 commits from 6543/go-sdk:update_issue_struct_add_ref into master 2020-12-15 22:16:32 +00:00
Showing only changes of commit 94168d759c - Show all commits

View File

@ -59,11 +59,13 @@ func editIssues(t *testing.T, c *Client) {
Title: "Edited",
Body: OptionalString("123 test and go"),
State: &state,
Ref: OptionalString("master"),
})
assert.NoError(t, err)
assert.EqualValues(t, issue.ID, issueNew.ID)
assert.EqualValues(t, "123 test and go", issueNew.Body)
assert.EqualValues(t, "Edited", issueNew.Title)
assert.EqualValues(t, "master", issueNew.Ref)
}
func listIssues(t *testing.T, c *Client) {