Skip to content

Commit

Permalink
build: add fixt dep
Browse files Browse the repository at this point in the history
  • Loading branch information
jost-s committed Aug 29, 2024
1 parent 58a7443 commit 48ee6f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion tests/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 48ee6f7

Please sign in to comment.