Skip to content

Commit

Permalink
[MM-617]: removed unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Kshitij-Katiyar committed Jul 22, 2024
1 parent a9dad01 commit 016989b
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions server/plugin/template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,39 +115,6 @@ var issue = github.Issue{
Body: sToP(`<!-- Thank you for opening this issue-->git-get-head sounds like a great feature we should support`),
}

var issueWithMentions = github.Issue{
Number: iToP(1),
HTMLURL: sToP("https://github.com/mattermost/mattermost-plugin-github/issues/1"),
Title: sToP("Implement git-get-head"),
CreatedAt: tToP(time.Date(2019, 04, 01, 02, 03, 04, 0, time.UTC)),
UpdatedAt: tToP(time.Date(2019, 05, 01, 02, 03, 04, 0, time.UTC)),
Body: sToP(`<!-- Thank you for opening this issue-->git-get-head sounds like a great feature we should support
` + gitHubMentions),
}

var issueWithLabelAndAssignee = github.Issue{
Number: iToP(1),
HTMLURL: sToP("https://github.com/mattermost/mattermost-plugin-github/issues/1"),
Title: sToP("Implement git-get-head"),
CreatedAt: tToP(time.Date(2019, 04, 01, 02, 03, 04, 0, time.UTC)),
UpdatedAt: tToP(time.Date(2019, 05, 01, 02, 03, 04, 0, time.UTC)),
Body: sToP(`<!-- Thank you for opening this issue-->git-get-head sounds like a great feature we should support`),
Labels: singleLabel,
Assignee: &user,
Assignees: []*github.User{&user},
}

var issueWithMultipleLabelsAndAssignee = github.Issue{
Number: iToP(1),
HTMLURL: sToP("https://github.com/mattermost/mattermost-plugin-github/issues/1"),
Title: sToP("Implement git-get-head"),
CreatedAt: tToP(time.Date(2019, 04, 01, 02, 03, 04, 0, time.UTC)),
UpdatedAt: tToP(time.Date(2019, 05, 01, 02, 03, 04, 0, time.UTC)),
Body: sToP(`<!-- Thank you for opening this issue-->git-get-head sounds like a great feature we should support`),
Labels: labels,
Assignees: []*github.User{&user, &user},
}

var user = github.User{
Login: sToP("panda"),
HTMLURL: sToP("https://github.com/panda"),
Expand Down

0 comments on commit 016989b

Please sign in to comment.