Changes to environment retrieval code

This commit is contained in:
2025-05-31 21:32:45 -04:00
parent 5ee886ec38
commit 4a35802caa

View File

@@ -88,7 +88,8 @@ mod tests {
#[test]
fn test_tokenize() {
let special_key = get_key().unwrap();
let rt = tokio::runtime::Runtime::new().unwrap();
let special_key = rt.block_on(icarus_envy::environment::get_secret_key());
match create_token(&special_key) {
Ok((token, _duration)) => {
let result = verify_token(&special_key, &token);