From a08c283d68b4a15d7c0b703332f3ec179ebc3a89 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Mon, 11 Aug 2025 17:19:08 +0200 Subject: test(warden): http post --- crates/pseudonyms/tests/helpers.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/pseudonyms/tests') 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, } @@ -24,6 +24,7 @@ impl TestApp { .build() .unwrap(); + let mut config = config.try_deserialize::().unwrap(); config.application.port = 0; @@ -47,7 +48,7 @@ impl TestApp { .expect("expect server to be running"); Self { - state, + _state: state, mutate: mutation_client, } } -- cgit v1.2.3