diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-27 14:53:48 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-27 14:53:48 -0600 |
| commit | 2309a49fddd189e5dc9da1e7bf979864f02701e0 (patch) | |
| tree | d60300d727ab6de68c0e69cecc35b54e252b7642 | |
| parent | f2e1cc278bedb63ba0b0b8d9a82e28f0e10fe048 (diff) | |
test: rename common module to support
| -rw-r--r-- | tests/authorization/cedar_authorizer_test.rs | 2 | ||||
| -rw-r--r-- | tests/authorization/check_service_test.rs | 2 | ||||
| -rw-r--r-- | tests/integration_test.rs | 2 | ||||
| -rw-r--r-- | tests/support/factory_bot.rs (renamed from tests/common/factory_bot.rs) | 0 | ||||
| -rw-r--r-- | tests/support/mod.rs (renamed from tests/common/mod.rs) | 0 |
5 files changed, 3 insertions, 3 deletions
diff --git a/tests/authorization/cedar_authorizer_test.rs b/tests/authorization/cedar_authorizer_test.rs index e7e6eb2c..76bf06df 100644 --- a/tests/authorization/cedar_authorizer_test.rs +++ b/tests/authorization/cedar_authorizer_test.rs @@ -1,6 +1,6 @@ #[cfg(test)] mod tests { - use crate::common::factory_bot::*; + use crate::support::factory_bot::*; use authzd::Authorizer; use envoy_types::pb::envoy::service::auth::v3::attribute_context::HttpRequest; use std::collections::HashMap; diff --git a/tests/authorization/check_service_test.rs b/tests/authorization/check_service_test.rs index 3bdf30c2..3a225974 100644 --- a/tests/authorization/check_service_test.rs +++ b/tests/authorization/check_service_test.rs @@ -1,6 +1,6 @@ #[cfg(test)] mod tests { - use crate::common::factory_bot::*; + use crate::support::factory_bot::*; use authzd::CheckService; use envoy_types::ext_authz::v3::pb::Authorization; use envoy_types::pb::envoy::service::auth::v3::attribute_context::HttpRequest; diff --git a/tests/integration_test.rs b/tests/integration_test.rs index c1edf36e..c17d8e65 100644 --- a/tests/integration_test.rs +++ b/tests/integration_test.rs @@ -1,2 +1,2 @@ mod authorization; -mod common; +mod support; diff --git a/tests/common/factory_bot.rs b/tests/support/factory_bot.rs index c64b53a2..c64b53a2 100644 --- a/tests/common/factory_bot.rs +++ b/tests/support/factory_bot.rs diff --git a/tests/common/mod.rs b/tests/support/mod.rs index 5e2a6d78..5e2a6d78 100644 --- a/tests/common/mod.rs +++ b/tests/support/mod.rs |
