summaryrefslogtreecommitdiff
path: root/tests/authorization
diff options
context:
space:
mode:
Diffstat (limited to 'tests/authorization')
-rw-r--r--tests/authorization/cedar_authorizer_test.rs3
-rw-r--r--tests/authorization/check_service_test.rs3
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;