diff --git a/applicationset/services/pull_request/scm-manager_test.go b/applicationset/services/pull_request/scm-manager_test.go index 445fc08c0b9363..36fc1dbb63ed0b 100644 --- a/applicationset/services/pull_request/scm-manager_test.go +++ b/applicationset/services/pull_request/scm-manager_test.go @@ -96,7 +96,7 @@ func TestScmManagerPrList(t *testing.T) { scmmMockHandler(t)(w, r) })) defer ts.Close() - host, err := NewScmManagerService(context.Background(), "", ts.URL, "test-argocd", "pr-test", false) + host, err := NewScmManagerService(context.Background(), "", ts.URL, "test-argocd", "pr-test", false, "", nil) assert.Nil(t, err) prs, err := host.List(context.Background()) assert.Nil(t, err) diff --git a/applicationset/services/scm_provider/scm-manager_test.go b/applicationset/services/scm_provider/scm-manager_test.go index 9211426f9f43d6..2f9e93f9a8ef80 100644 --- a/applicationset/services/scm_provider/scm-manager_test.go +++ b/applicationset/services/scm_provider/scm-manager_test.go @@ -137,7 +137,7 @@ func TestScmManagerListRepos(t *testing.T) { defer ts.Close() for _, c := range cases { t.Run(c.name, func(t *testing.T) { - provider, _ := NewScmManagerProvider(context.Background(), "", ts.URL, c.allBranches, false, "") + provider, _ := NewScmManagerProvider(context.Background(), "", ts.URL, c.allBranches, false, "", nil) rawRepos, err := ListRepos(context.Background(), provider, c.filters, c.proto) if c.hasError { assert.NotNil(t, err) @@ -166,7 +166,7 @@ func TestScmManagerHasPath(t *testing.T) { scmManagerMockHandler(t)(w, r) })) defer ts.Close() - host, _ := NewScmManagerProvider(context.Background(), "", ts.URL, false, false, "") + host, _ := NewScmManagerProvider(context.Background(), "", ts.URL, false, false, "", nil) repo := &Repository{ Organization: "test-argocd", Repository: "pr-test",