diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-25 15:08:55 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-25 15:08:55 -0600 |
| commit | ff81c53e472857e08eb1333f66f3d96487813732 (patch) | |
| tree | 13ee8e8d477f6c186ce7dc2d735e683a0f9f35d9 /tests/authorization | |
| parent | 25412b5ad670d5b8809d399aae4ab63bd5e1de40 (diff) | |
test: extract factory_bot module
Diffstat (limited to 'tests/authorization')
| -rw-r--r-- | tests/authorization/cedar_authorizer_test.rs | 1 | ||||
| -rw-r--r-- | tests/authorization/check_service_test.rs | 2 |
2 files changed, 2 insertions, 1 deletions
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; |
