aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
Diffstat (limited to 'integrations')
-rw-r--r--integrations/pull_update_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/integrations/pull_update_test.go b/integrations/pull_update_test.go
index 2dc966316e..46a1e04b25 100644
--- a/integrations/pull_update_test.go
+++ b/integrations/pull_update_test.go
@@ -60,7 +60,11 @@ func createOutdatedPR(t *testing.T, actor, forkOrg *models.User) *models.PullReq
assert.NoError(t, err)
assert.NotEmpty(t, baseRepo)
- headRepo, err := repo_module.ForkRepository(actor, forkOrg, baseRepo, "repo-pr-update", "desc")
+ headRepo, err := repo_module.ForkRepository(actor, forkOrg, models.ForkRepoOptions{
+ BaseRepo: baseRepo,
+ Name: "repo-pr-update",
+ Description: "desc",
+ })
assert.NoError(t, err)
assert.NotEmpty(t, headRepo)