diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-25 15:13:03 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-25 15:13:03 -0600 |
| commit | 0482895d6b34a3a3622979389ae62a40f3f64cf6 (patch) | |
| tree | 1f75e789c321163da65e6a8213d7eb3e7ea477cf /tests/authorization | |
| parent | ff81c53e472857e08eb1333f66f3d96487813732 (diff) | |
test: move builder functions to factory_bot module
Diffstat (limited to 'tests/authorization')
| -rw-r--r-- | tests/authorization/cedar_authorizer_test.rs | 3 | ||||
| -rw-r--r-- | tests/authorization/check_service_test.rs | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/authorization/cedar_authorizer_test.rs b/tests/authorization/cedar_authorizer_test.rs index c74a2042..b13f48ad 100644 --- a/tests/authorization/cedar_authorizer_test.rs +++ b/tests/authorization/cedar_authorizer_test.rs @@ -1,7 +1,6 @@ #[cfg(test)] mod tests { - use crate::common::factory_bot::create_request; - use crate::common::*; + use crate::common::factory_bot::*; use authzd::Authorizer; use authzd::CedarAuthorizer; use envoy_types::pb::envoy::service::auth::v3::attribute_context::HttpRequest; diff --git a/tests/authorization/check_service_test.rs b/tests/authorization/check_service_test.rs index dadb6d1a..0582417e 100644 --- a/tests/authorization/check_service_test.rs +++ b/tests/authorization/check_service_test.rs @@ -1,7 +1,6 @@ #[cfg(test)] mod tests { - use crate::common::create_token; - use crate::common::factory_bot::create_request; + use crate::common::factory_bot::*; use authzd::CedarAuthorizer; use authzd::CheckService; use envoy_types::ext_authz::v3::pb::Authorization; |
