From add74e8f7081f98a5dffecabbe9c2731252fcc8a Mon Sep 17 00:00:00 2001 From: Karol Szwaj Date: Mon, 24 Jul 2023 13:38:41 +0200 Subject: [PATCH] Update test case remove finalizer Signed-off-by: Karol Szwaj --- internal/provider/kubernetes/controller_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/provider/kubernetes/controller_test.go b/internal/provider/kubernetes/controller_test.go index fab2b5ad7bf1..fa12e7aef321 100644 --- a/internal/provider/kubernetes/controller_test.go +++ b/internal/provider/kubernetes/controller_test.go @@ -149,11 +149,10 @@ func TestRemoveEnvoyProxyFinalizer(t *testing.T) { expect []string }{ { - name: "envoyproxy with existing gatewayclass finalizer", + name: "envoyproxy with no finalizers", ep: &egcfgv1a1.EnvoyProxy{ ObjectMeta: metav1.ObjectMeta{ - Name: "test-ep", - Finalizers: []string{gatewayClassFinalizer}, + Name: "test", }, }, expect: nil,