summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-05 12:12:56 -0600
committermo khan <mo@mokhan.ca>2025-07-05 12:12:56 -0600
commit836e6658fabdab957ab2ce7be973a5de31247750 (patch)
treeb2f327ce6d68753cedf4e11aee6a13b0a1c13104 /tests
parent2c46c12427c6ae44e6ca96e6cef7522e4435482d (diff)
refactor: provide cedar entities in constructor
Diffstat (limited to 'tests')
-rw-r--r--tests/support/factory_bot.rs2
1 files changed, 1 insertions, 1 deletions
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<String, String>
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 {