From b5e2dc7f29cd91cb5578442c1b9cc8c0aade9571 Mon Sep 17 00:00:00 2001 From: phoenix Date: Sat, 2 Aug 2025 17:22:19 -0400 Subject: [PATCH] Added test --- tests/test.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/test.rs b/tests/test.rs index b5d39bb..23aaebc 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -20,6 +20,16 @@ mod tests { ) } + #[test] + fn test_get_service_passphrase() { + let result = async_std::task::block_on(icarus_envy::environment::get_service_passphrase()); + assert_eq!( + result, "T5OCHDHadAtuOWIqRAS7u8XHDDkzKT1Uvvw7mGMkNzKjVdlHA8xGdILf2adDHspO", + "SERVICE_PASSPHRASE does not match {:?}", + result + ) + } + #[test] fn test_get_secret_key() { let result = async_std::task::block_on(icarus_envy::environment::get_secret_key());