From 836e6658fabdab957ab2ce7be973a5de31247750 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 5 Jul 2025 12:12:56 -0600 Subject: refactor: provide cedar entities in constructor --- tests/support/factory_bot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/support/factory_bot.rs b/tests/support/factory_bot.rs index 15c6f1f3..051b248c 100644 --- a/tests/support/factory_bot.rs +++ b/tests/support/factory_bot.rs @@ -39,7 +39,7 @@ pub fn build_headers(headers: Vec<(String, String)>) -> HashMap pub fn build_cedar_authorizer() -> authzd::CedarAuthorizer { let realpath = std::fs::canonicalize("./etc/authzd").unwrap(); let path = realpath.as_path(); - authzd::CedarAuthorizer::new_from(path) + authzd::CedarAuthorizer::new_from(path, cedar_policy::Entities::empty()) } pub async fn build_channel(addr: SocketAddr) -> Channel { -- cgit v1.2.3