diff --git a/Cargo.lock b/Cargo.lock index 8a9027f..5753c9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2657,6 +2657,7 @@ dependencies = [ "async-trait", "ed25519-dalek", "event-emitter-rs", + "fixt", "holo_hash", "holochain", "holochain_conductor_api", diff --git a/Cargo.toml b/Cargo.toml index 398951d..8d6b18d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,6 +42,7 @@ tokio = { version = "1.36", features = ["rt"] } [dev-dependencies] arbitrary = "1.2" +fixt = "0.4.0-dev.3" holochain = { version = "0.4.0-dev.20", features = ["test_utils"] } rand = "0.8" kitsune_p2p_types = "0.4.0-dev.12" diff --git a/tests/admin.rs b/tests/admin.rs index 43963f9..302337b 100644 --- a/tests/admin.rs +++ b/tests/admin.rs @@ -7,6 +7,7 @@ use holochain_client::{ use holochain_conductor_api::{CellInfo, StorageBlob}; use holochain_types::websocket::AllowedOrigins; use holochain_zome_types::prelude::ExternIO; +use kitsune_p2p_types::fixt::AgentInfoSignedFixturator; use std::collections::BTreeSet; use std::net::Ipv4Addr; use std::{collections::HashMap, path::PathBuf}; @@ -284,7 +285,7 @@ async fn agent_info() { let agent_infos = admin_ws.agent_info(None).await.unwrap(); assert_eq!(agent_infos.len(), 1); - let other_agent = ::fixt::fixt!(AgentInfoSigned); + let other_agent = fixt::fixt!(AgentInfoSigned); admin_ws .add_agent_info(vec![other_agent.clone()]) .await