1
0
mirror of https://github.com/interviewstreet/go-jira.git synced 2025-03-19 20:57:47 +02:00
This commit is contained in:
Andy Grunwald 2016-03-27 14:18:31 +02:00
parent e3921e7773
commit ec697566b2
2 changed files with 4 additions and 4 deletions

View File

@ -171,7 +171,7 @@ type IssueLink struct {
Type IssueLinkType `json:"type"`
OutwardIssue Issue `json:"outwardIssue"`
InwardIssue Issue `json:"inwardIssue"`
Comment Comment `json:"comment"`
Comment Comment `json:"comment"`
}
// IssueLinkType represents a type of a link between to issues in JIRA.

View File

@ -64,7 +64,7 @@ func TestIssueAddComment(t *testing.T) {
c := &Comment{
Body: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque eget venenatis elit. Duis eu justo eget augue iaculis fermentum. Sed semper quam laoreet nisi egestas at posuere augue semper.",
Visibility: CommentVisibility{
Type: "role",
Type: "role",
Value: "Administrators",
},
}
@ -100,7 +100,7 @@ func TestIssueAddLink(t *testing.T) {
Comment: Comment{
Body: "Linked related issue!",
Visibility: CommentVisibility{
Type: "group",
Type: "group",
Value: "jira-software-users",
},
},
@ -115,4 +115,4 @@ func TestIssueAddLink(t *testing.T) {
if err != nil {
t.Error("Error given: %s", err)
}
}
}