@@ -548,6 +548,7 @@ pub async fn create_test_router(state: AppState) -> Result<Router> {
548548 // Create a simple router for tests (without rate limiting or JWT auth)
549549 // Tests should use the test auth middleware to inject authentication context
550550 let router = Router :: new ( )
551+ // Core authorization endpoints
551552 . route ( "/access/v1/evaluate" , post ( evaluate_stream_handler) )
552553 . route ( "/access/v1/expand" , post ( expand_handler) )
553554 . route ( "/access/v1/resources/list" , post ( list_resources_stream_handler) )
@@ -559,9 +560,12 @@ pub async fn create_test_router(state: AppState) -> Result<Router> {
559560 "/access/v1/relationships/{resource}/{relation}/{subject}" ,
560561 get ( handlers:: relationships:: get:: get_relationship) ,
561562 )
562- // Organization management routes (for content negotiation tests)
563+ // AuthZEN-compliant endpoints
564+ . route ( "/access/v1/evaluation" , post ( handlers:: authzen:: evaluation:: post_evaluation) )
565+ . route ( "/access/v1/evaluations" , post ( handlers:: authzen:: evaluation:: post_evaluations) )
566+ // Organization management routes
563567 . route ( "/access/v1/organizations/{id}" , get ( handlers:: organizations:: get:: get_organization) )
564- // Vault management routes (for content negotiation tests)
568+ // Vault management routes
565569 . route ( "/access/v1/vaults/{id}" , get ( handlers:: vaults:: get:: get_vault) )
566570 // Health endpoints (Kubernetes conventions)
567571 . route ( "/livez" , get ( health:: livez_handler) )
0 commit comments