Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Guilherme Cassolato <guicassolato@gmail.com>
  • Loading branch information
guicassolato committed Oct 2, 2024
1 parent 16bb08a commit e2f7dc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/rlptools/wasm/types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -133,7 +133,7 @@ func TestInValidActionConfig(t *testing.T) {
scope: some-scope
extension: limitador
data:
- other:
- other:
key: keyA
`,
},
Expand All @@ -143,7 +143,7 @@ data:
scope: some-scope
extension: limitador
data:
- static:
- static:
key: keyA
selector:
selector: selectorA
Expand Down Expand Up @@ -184,7 +184,7 @@ func testBasicConfigExample() *Config {
AllOf: []PatternExpression{
{
Selector: "request.host",
Operator: PatternOperator(kuadrantv1beta2.EqualOperator),
Operator: PatternOperator(kuadrantv1beta3.EqualOperator),
Value: "cars.toystore.com",
},
},
Expand Down

0 comments on commit e2f7dc5

Please sign in to comment.