Service passphrase (#16)
All checks were successful
Rust Build / Check (push) Successful in 28s
Release Tagging / release (push) Successful in 51s
Rust Build / Test Suite (push) Successful in 28s
Rust Build / Clippy (push) Successful in 29s
Rust Build / Rustfmt (push) Successful in 46s
Rust Build / build (push) Successful in 27s
All checks were successful
Rust Build / Check (push) Successful in 28s
Release Tagging / release (push) Successful in 51s
Rust Build / Test Suite (push) Successful in 28s
Rust Build / Clippy (push) Successful in 29s
Rust Build / Rustfmt (push) Successful in 46s
Rust Build / build (push) Successful in 27s
Reviewed-on: #16 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user