From 5abf4b1db876161ef028398c9d600dd5ab9f6f6e Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 9 Jul 2025 16:28:12 -0600 Subject: test: extract common test setup to initialize logger --- tests/authorization/cedar_authorizer_test.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/authorization') diff --git a/tests/authorization/cedar_authorizer_test.rs b/tests/authorization/cedar_authorizer_test.rs index 4a319c09..27b676ba 100644 --- a/tests/authorization/cedar_authorizer_test.rs +++ b/tests/authorization/cedar_authorizer_test.rs @@ -1,12 +1,14 @@ #[cfg(test)] mod tests { use crate::support::factory_bot::*; + use crate::support::*; use authzd::Authorizer; use envoy_types::pb::envoy::service::auth::v3::attribute_context::HttpRequest; use std::collections::HashMap; use std::str::FromStr; fn subject() -> authzd::CedarAuthorizer { + common::setup(); subject_with(cedar_policy::Entities::empty()) } -- cgit v1.2.3