diff options
| author | mo khan <mo@mokhan.ca> | 2025-06-27 12:45:13 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-06-27 12:45:13 -0600 |
| commit | f59c24589af439e0e22f43a2e42595cf88973ccf (patch) | |
| tree | 463c52337d726056571d9dd6c085d6bc84075e22 /tests/integration_tests.rs | |
| parent | afd9729146a7e90bd97bf36f9d2081e29de9da35 (diff) | |
test: extract factory_bot factory for cedar authorizer
Diffstat (limited to 'tests/integration_tests.rs')
| -rw-r--r-- | tests/integration_tests.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/integration_tests.rs b/tests/integration_tests.rs index 8bf433d1..63aaaadc 100644 --- a/tests/integration_tests.rs +++ b/tests/integration_tests.rs @@ -8,9 +8,7 @@ mod authorization; mod common; fn authorizer() -> Arc<dyn authzd::Authorizer + Send + Sync> { - Arc::new(CedarAuthorizer::new_from( - "/home/mokhax/src/gitlab.com/gitlab-org/software-supply-chain-security/authorization/authzd/etc/authzd", - )) + Arc::new(factory_bot::build_cedar_authorizer()) } #[tokio::test] |
