From e2f7dc522e89d3a8c0d0fa8ffe0c71187a914985 Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Wed, 2 Oct 2024 18:37:18 +0200 Subject: [PATCH] fix unit test Signed-off-by: Guilherme Cassolato --- pkg/rlptools/wasm/types_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/rlptools/wasm/types_test.go b/pkg/rlptools/wasm/types_test.go index a22c8f467..61051a422 100644 --- a/pkg/rlptools/wasm/types_test.go +++ b/pkg/rlptools/wasm/types_test.go @@ -10,7 +10,7 @@ import ( "github.com/google/go-cmp/cmp" "sigs.k8s.io/yaml" - kuadrantv1beta2 "github.com/kuadrant/kuadrant-operator/api/v1beta2" + kuadrantv1beta3 "github.com/kuadrant/kuadrant-operator/api/v1beta3" "github.com/kuadrant/kuadrant-operator/pkg/common" ) @@ -133,7 +133,7 @@ func TestInValidActionConfig(t *testing.T) { scope: some-scope extension: limitador data: -- other: +- other: key: keyA `, }, @@ -143,7 +143,7 @@ data: scope: some-scope extension: limitador data: -- static: +- static: key: keyA selector: selector: selectorA @@ -184,7 +184,7 @@ func testBasicConfigExample() *Config { AllOf: []PatternExpression{ { Selector: "request.host", - Operator: PatternOperator(kuadrantv1beta2.EqualOperator), + Operator: PatternOperator(kuadrantv1beta3.EqualOperator), Value: "cars.toystore.com", }, },