Skip to content

Commit

Permalink
add default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
motatoes committed Jan 10, 2024
1 parent 88fcc82 commit 045cd0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/cmd/digger/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -998,13 +998,14 @@ func TestGitHubNewPullRequestInMultiEnvProjectContext(t *testing.T) {
}

func TestGitHubTestPRCommandCaseInsensitivity(t *testing.T) {
defaultBranch := "defaultBranch"
issuenumber := 1
ghEvent := github.IssueCommentEvent{
Comment: &github.IssueComment{},
Issue: &github.Issue{
Number: &issuenumber,
},
Repo: &github.Repository{FullName: github.String("asdd")},
Repo: &github.Repository{FullName: github.String("asdd"), DefaultBranch: &defaultBranch},
Sender: &github.User{Login: github.String("login")},
}
comment := "DiGGeR PlAn"
Expand Down

0 comments on commit 045cd0d

Please sign in to comment.