diff --git a/pkg/controller/keyvault/ingress_secret_provider_class_test.go b/pkg/controller/keyvault/ingress_secret_provider_class_test.go index cfe1a17b..70abf544 100644 --- a/pkg/controller/keyvault/ingress_secret_provider_class_test.go +++ b/pkg/controller/keyvault/ingress_secret_provider_class_test.go @@ -195,6 +195,7 @@ func TestIngressSecretProviderClassReconcilerIntegrationWithoutSPCLabels(t *test }, } + assert.Equal(t, 0, len(spc.Labels)) beforeErrCount = testutils.GetErrMetricCount(t, ingressSecretProviderControllerName) beforeRequestCount = testutils.GetReconcileMetricCount(t, ingressSecretProviderControllerName, metrics.LabelSuccess) _, err = i.Reconcile(ctx, req)