diff --git a/pnpr/crates/pnpr/src/server/tests.rs b/pnpr/crates/pnpr/src/server/tests.rs index 1df70e6f06..849064dd74 100644 --- a/pnpr/crates/pnpr/src/server/tests.rs +++ b/pnpr/crates/pnpr/src/server/tests.rs @@ -172,7 +172,10 @@ impl TokenBackend for OneToken { fn app_with_token(tmp: &TempDir, raw: &str, record: TokenRecord) -> axum::Router { let tokens: Arc = Arc::new(OneToken { raw: raw.to_string(), record }); - let auth = AuthState { users: Arc::new(UserStore::in_memory()), tokens }; + let auth = AuthState { + users: Arc::new(UserStore::in_memory(crate::config::MaxUsers::Unlimited)), + tokens, + }; let listen = SocketAddr::new(IpAddr::V4(Ipv4Addr::LOCALHOST), 0); router_with_auth(Config::static_serve(listen, tmp.path().to_path_buf()), auth) }