Skip to content

Commit e024184

Browse files
committed
Fix pr merge test
1 parent d774a6a commit e024184

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/pr/merge/merge_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ func runCommand(rt http.RoundTripper, branch string, isTTY bool, cli string) (*t
3737
return config.NewBlankConfig(), nil
3838
},
3939
BaseRepo: func() (ghrepo.Interface, error) {
40-
return &api.Repository{
40+
return api.InitRepoHostname(&api.Repository{
4141
Name: "REPO",
4242
Owner: api.RepositoryOwner{Login: "OWNER"},
4343
DefaultBranchRef: api.BranchRef{Name: "master"},
44-
}, nil
44+
}, "github.com"), nil
4545
},
4646
Remotes: func() (context.Remotes, error) {
4747
return context.Remotes{

0 commit comments

Comments
 (0)