From 44697b0b33a1c568f6a116f35ffd14fa263f22be Mon Sep 17 00:00:00 2001 From: Magnus Jungsbluth Date: Fri, 19 Jan 2024 12:05:12 +0100 Subject: [PATCH] Fix rebase tests Signed-off-by: Magnus Jungsbluth --- .../opaauthorizerequest/opaauthorizerequest_test.go | 1 + .../openpolicyagent/opaserveresponse/opaserveresponse_test.go | 2 ++ 2 files changed, 3 insertions(+) diff --git a/filters/openpolicyagent/opaauthorizerequest/opaauthorizerequest_test.go b/filters/openpolicyagent/opaauthorizerequest/opaauthorizerequest_test.go index 33b88f8d36..34bcb4cfc0 100644 --- a/filters/openpolicyagent/opaauthorizerequest/opaauthorizerequest_test.go +++ b/filters/openpolicyagent/opaauthorizerequest/opaauthorizerequest_test.go @@ -65,6 +65,7 @@ func TestAuthorizeRequestFilter(t *testing.T) { }, { msg: "Allow Matching Environment", + filterName: "opaAuthorizeRequest", bundleName: "somebundle.tar.gz", regoQuery: "envoy/authz/allow_runtime_environment", requestPath: "/allow", diff --git a/filters/openpolicyagent/opaserveresponse/opaserveresponse_test.go b/filters/openpolicyagent/opaserveresponse/opaserveresponse_test.go index 92d721a098..9936365e46 100644 --- a/filters/openpolicyagent/opaserveresponse/opaserveresponse_test.go +++ b/filters/openpolicyagent/opaserveresponse/opaserveresponse_test.go @@ -74,6 +74,7 @@ func TestAuthorizeRequestFilter(t *testing.T) { }, { msg: "Allow With opa.runtime execution", + filterName: "opaServeResponse", bundleName: "somebundle.tar.gz", regoQuery: "envoy/authz/allow_object", requestPath: "allow/production", @@ -83,6 +84,7 @@ func TestAuthorizeRequestFilter(t *testing.T) { }, { msg: "Deny With opa.runtime execution", + filterName: "opaServeResponse", bundleName: "somebundle.tar.gz", regoQuery: "envoy/authz/allow_object", requestPath: "allow/test",