diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-11 17:19:08 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-11 17:19:08 +0200 |
commit | a08c283d68b4a15d7c0b703332f3ec179ebc3a89 (patch) | |
tree | a79cd167da00d0ef8244f33bf901eb57841f54ca /crates/pseudonyms/tests | |
parent | 577cb84226b832118677b5338a4e91897117f53a (diff) | |
download | warden-a08c283d68b4a15d7c0b703332f3ec179ebc3a89.tar.bz2 warden-a08c283d68b4a15d7c0b703332f3ec179ebc3a89.zip |
test(warden): http post
Diffstat (limited to 'crates/pseudonyms/tests')
-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, } } |