Skip to content

Commit

Permalink
Remove invalid tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzejkop committed Oct 21, 2024
1 parent 9dd897e commit 7ec2697
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 229 deletions.
211 changes: 0 additions & 211 deletions tests/recover_identities.rs

This file was deleted.

18 changes: 0 additions & 18 deletions tests/unreduced_identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,24 +74,6 @@ async fn test_unreduced_identity(offchain_mode_enabled: bool) -> anyhow::Result<
body_str
);

// Test unreduced identity for recovery
let body = common::construct_recover_identity_body(&Hash::ZERO, &ruint::Uint::<256, 4>::MAX);
let response = client
.post(uri.to_owned() + "/recoverIdentity")
.header("Content-Type", "application/json")
.body(body)
.send()
.await
.expect("Failed to create insert identity");

let bytes = response.bytes().await.expect("Failed to read body bytes");
let body_str = String::from_utf8_lossy(&bytes);

assert_eq!(
"provided identity commitment is not in reduced form",
body_str
);

shutdown.shutdown();
app_handle.await?;
for (_, prover) in insertion_prover_map.into_iter() {
Expand Down

0 comments on commit 7ec2697

Please sign in to comment.