diff --git a/src/internal/agent/hooks/argocd-repository_test.go b/src/internal/agent/hooks/argocd-repository_test.go index dfb2e417fe..4506b682e1 100644 --- a/src/internal/agent/hooks/argocd-repository_test.go +++ b/src/internal/agent/hooks/argocd-repository_test.go @@ -76,7 +76,8 @@ func TestArgoRepoWebhook(t *testing.T) { operations.ReplacePatchOperation( "/metadata/labels", map[string]string{ - "zarf-agent": "patched", + "argocd.argoproj.io/secret-type": "repository", + "zarf-agent": "patched", }, ), }, @@ -112,7 +113,8 @@ func TestArgoRepoWebhook(t *testing.T) { operations.ReplacePatchOperation( "/metadata/labels", map[string]string{ - "zarf-agent": "patched", + "argocd.argoproj.io/secret-type": "repository", + "zarf-agent": "patched", }, ), },