diff --git a/server/repository/repository_test.go b/server/repository/repository_test.go index e77ae2e8a962c7..8b382c44192370 100644 --- a/server/repository/repository_test.go +++ b/server/repository/repository_test.go @@ -264,7 +264,7 @@ func TestRepositoryServer(t *testing.T) { s := NewServer(&repoServerClientset, argoDB, enforcer, nil, appLister, projInformer, testNamespace, settingsMgr) url := "https://test" - repo, _ := s.getRepo(context.TODO(), url) + repo, _ := s.getRepo(context.TODO(), url, "") assert.Equal(t, repo.Repo, url) })