diff options
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/authz/server_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/authz/server_test.go b/pkg/authz/server_test.go index ffc00c5..6740eda 100644 --- a/pkg/authz/server_test.go +++ b/pkg/authz/server_test.go @@ -70,6 +70,7 @@ func TestServer(t *testing.T) { {status: codes.OK, http: &auth.AttributeContext_HttpRequest{Method: "GET", Path: "/logo.png"}}, {status: codes.OK, http: &auth.AttributeContext_HttpRequest{Method: "GET", Path: "/signout"}}, {status: codes.OK, http: &auth.AttributeContext_HttpRequest{Method: "GET", Path: "/sparkles"}}, + {status: codes.OK, http: &auth.AttributeContext_HttpRequest{Method: "POST", Path: "/sparkles", Headers: loggedInHeaders}}, {status: codes.OK, http: &auth.AttributeContext_HttpRequest{Method: "POST", Path: "/sparkles/restore"}}, {status: codes.PermissionDenied, http: &auth.AttributeContext_HttpRequest{Method: "GET", Path: "/dashboard"}}, {status: codes.PermissionDenied, http: &auth.AttributeContext_HttpRequest{Method: "POST", Path: "/sparkles"}}, |
