summaryrefslogtreecommitdiff
path: root/tests/support
diff options
context:
space:
mode:
Diffstat (limited to 'tests/support')
-rw-r--r--tests/support/factory_bot.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/support/factory_bot.rs b/tests/support/factory_bot.rs
index c3ad781d..08deaa15 100644
--- a/tests/support/factory_bot.rs
+++ b/tests/support/factory_bot.rs
@@ -39,10 +39,10 @@ pub fn build_headers(headers: Vec<(String, String)>) -> HashMap<String, String>
pub fn build_cedar_authorizer(
entities: cedar_policy::Entities,
-) -> authzd::authorization::cedar::CedarAuthorizer {
+) -> authzd::authorization::cedar::Authorizer {
let realpath = std::fs::canonicalize("./etc/authzd").unwrap();
let path = realpath.as_path();
- authzd::authorization::cedar::CedarAuthorizer::new_from(path, entities)
+ authzd::authorization::cedar::Authorizer::new_from(path, entities)
}
pub async fn build_channel(addr: SocketAddr) -> Channel {