Skip to content

Commit

Permalink
Update unsafe get test
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Dec 16, 2024
1 parent ebc339e commit 87c6afd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/threshold-signature-server/src/unsafe/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ use entropy_kvdb::clean_tests;
use serial_test::serial;

use super::api::UnsafeQuery;
use crate::helpers::tests::{initialize_test_logger, setup_client};
use crate::helpers::{
launch::LATEST_BLOCK_NUMBER_RESHARE,
tests::{initialize_test_logger, setup_client},
};

#[tokio::test]
#[serial]
Expand All @@ -27,7 +30,7 @@ async fn test_unsafe_get_endpoint() {
setup_client().await;
let client = reqwest::Client::new();

let get_query = UnsafeQuery::new("MNEMONIC".to_string(), vec![10]).to_json();
let get_query = UnsafeQuery::new(LATEST_BLOCK_NUMBER_RESHARE.to_string(), vec![10]).to_json();

// Test that the get endpoint works
let response = client
Expand Down

0 comments on commit 87c6afd

Please sign in to comment.