Skip to content

Commit

Permalink
Remove tokio dev-dep from agency_client (#975)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas authored Sep 13, 2023
1 parent f4c8642 commit 5232d08
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions agency_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,3 @@ url = { version = "2.3", features = ["serde"] }
uuid = { version = "0.8", default-features = false, features = ["v4"]}
thiserror = "1.0.37"
shared_vcx = { path = "../shared_vcx" }

[target.'cfg(target_os = "android")'.dependencies]
android_logger = "0.5"

[dev-dependencies]
tokio = { version = "1.20", features = [ "rt", "macros" ] }
14 changes: 0 additions & 14 deletions agency_client/src/messages/create_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,20 +86,6 @@ mod tests {
.unwrap();
}

#[tokio::test]
#[cfg(feature = "general_test")]
async fn test_parse_create_keys_v2_response() {
let _setup = SetupMocks::init();

let for_did = "11235yBzrpJQmNyZzgoTqB";
let for_verkey = "EkVTa7SCJ5SntpYyX7CSb2pcBhiVGT9kWSagA8a9T69A";
let client = AgencyClient::new();
let (res_did, res_vk) = client.create_connection_agent(for_did, for_verkey).await.unwrap();

assert_eq!(res_did, "MNepeSWtGfhnv8jLB1sFZC");
assert_eq!(res_vk, "C73MRnns4qUjR5N4LRwTyiXVPKPrA5q4LCT8PZzxVdt9");
}

#[test]
#[cfg(feature = "general_test")]
fn test_create_key_set_invalid_did_errors() {
Expand Down

0 comments on commit 5232d08

Please sign in to comment.