diff options
Diffstat (limited to 'crates/pseudonyms/tests/helpers.rs')
-rw-r--r-- | crates/pseudonyms/tests/helpers.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/pseudonyms/tests/helpers.rs b/crates/pseudonyms/tests/helpers.rs index 589049a..5e2545b 100644 --- a/crates/pseudonyms/tests/helpers.rs +++ b/crates/pseudonyms/tests/helpers.rs @@ -8,7 +8,7 @@ use warden_stack::{Configuration, cache::RedisManager}; use std::sync::Arc; pub struct TestApp { - state: AppHandle, + _state: AppHandle, pub mutate: MutatePseudonymClient<Channel>, } @@ -24,6 +24,7 @@ impl TestApp { .build() .unwrap(); + let mut config = config.try_deserialize::<Configuration>().unwrap(); config.application.port = 0; @@ -47,7 +48,7 @@ impl TestApp { .expect("expect server to be running"); Self { - state, + _state: state, mutate: mutation_client, } } |