Fixing test
Rust Build / Rustfmt (pull_request) Successful in 48s
Rust Build / Test Suite (pull_request) Successful in 1m3s
Rust Build / Clippy (pull_request) Successful in 1m58s
Rust Build / Check (pull_request) Successful in 3m0s
Rust Build / build (pull_request) Successful in 2m20s
Rust Build / Rustfmt (pull_request) Successful in 48s
Rust Build / Test Suite (pull_request) Successful in 1m3s
Rust Build / Clippy (pull_request) Successful in 1m58s
Rust Build / Check (pull_request) Successful in 3m0s
Rust Build / build (pull_request) Successful in 2m20s
This commit is contained in:
@@ -123,10 +123,7 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_tokenize() {
|
fn test_tokenize() {
|
||||||
let rt = tokio::runtime::Runtime::new().unwrap();
|
let special_key = icarus_envy::environment::get_secret_key().value;
|
||||||
let special_key = rt
|
|
||||||
.block_on(icarus_envy::environment::get_secret_key())
|
|
||||||
.value;
|
|
||||||
let id = uuid::Uuid::new_v4();
|
let id = uuid::Uuid::new_v4();
|
||||||
match create_token(&special_key, &id) {
|
match create_token(&special_key, &id) {
|
||||||
Ok((token, _duration)) => {
|
Ok((token, _duration)) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user