From ff81c53e472857e08eb1333f66f3d96487813732 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 25 Jun 2025 15:08:55 -0600 Subject: test: extract factory_bot module --- tests/authorization/cedar_authorizer_test.rs | 1 + tests/authorization/check_service_test.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/authorization') diff --git a/tests/authorization/cedar_authorizer_test.rs b/tests/authorization/cedar_authorizer_test.rs index 1012d917..c74a2042 100644 --- a/tests/authorization/cedar_authorizer_test.rs +++ b/tests/authorization/cedar_authorizer_test.rs @@ -1,5 +1,6 @@ #[cfg(test)] mod tests { + use crate::common::factory_bot::create_request; use crate::common::*; use authzd::Authorizer; use authzd::CedarAuthorizer; diff --git a/tests/authorization/check_service_test.rs b/tests/authorization/check_service_test.rs index 23655ffb..dadb6d1a 100644 --- a/tests/authorization/check_service_test.rs +++ b/tests/authorization/check_service_test.rs @@ -1,7 +1,7 @@ #[cfg(test)] mod tests { - use crate::common::create_request; use crate::common::create_token; + use crate::common::factory_bot::create_request; use authzd::CedarAuthorizer; use authzd::CheckService; use envoy_types::ext_authz::v3::pb::Authorization; -- cgit v1.2.3