From dc3b540599de3ac38815d356febc242920ada140 Mon Sep 17 00:00:00 2001 From: phoenix Date: Mon, 11 Aug 2025 17:48:10 -0400 Subject: [PATCH] tsk-51: Test fix --- src/token_stuff/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/token_stuff/mod.rs b/src/token_stuff/mod.rs index 38f04d7..a0a1cba 100644 --- a/src/token_stuff/mod.rs +++ b/src/token_stuff/mod.rs @@ -134,7 +134,8 @@ mod tests { fn test_tokenize() { let rt = tokio::runtime::Runtime::new().unwrap(); let special_key = rt.block_on(icarus_envy::environment::get_secret_key()); - match create_token(&special_key) { + let id = uuid::Uuid::new_v4(); + match create_token(&special_key, &id) { Ok((token, _duration)) => { let result = verify_token(&special_key, &token); assert!(result, "Token not verified");