Skip to content

Commit fbcfb83

Browse files
committed
Fix tests
1 parent 50ace6d commit fbcfb83

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

client/tests/fetcher_tests.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ use std::{
44
};
55

66
use anyhow::Result;
7-
use protocol::{bitcoin::BlockHash, constants::ChainAnchor};
8-
use spaced::source::{BitcoinBlockSource, BitcoinRpc, BitcoinRpcAuth, BlockEvent, BlockFetcher};
9-
use testutil::TestRig;
7+
use spaces_protocol::{bitcoin::BlockHash, constants::ChainAnchor};
8+
use spaces_client::source::{BitcoinBlockSource, BitcoinRpc, BitcoinRpcAuth, BlockEvent, BlockFetcher};
9+
use spaces_testutil::TestRig;
1010

1111
async fn setup(blocks: u64) -> Result<(TestRig, u64, BlockHash)> {
1212
let rig = TestRig::new().await?;

client/tests/integration_tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
use std::{path::PathBuf, str::FromStr};
22

3-
use protocol::{
3+
use spaces_protocol::{
44
bitcoin::{Amount, FeeRate},
55
constants::RENEWAL_INTERVAL,
66
script::SpaceScript,
77
Bytes, Covenant,
88
};
9-
use spaced::{
9+
use spaces_client::{
1010
rpc::{
1111
BidParams, ExecuteParams, OpenParams, RegisterParams, RpcClient, RpcWalletRequest,
1212
RpcWalletTxBuilder, TransferSpacesParams,
1313
},
1414
wallets::{AddressKind, WalletResponse},
1515
};
16-
use testutil::TestRig;
17-
use wallet::{export::WalletExport, tx_event::TxEventKind};
16+
use spaces_testutil::TestRig;
17+
use spaces_wallet::{export::WalletExport, tx_event::TxEventKind};
1818

1919
const ALICE: &str = "wallet_99";
2020
const BOB: &str = "wallet_98";

client/tests/reorg_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use std::time::Duration;
22

3-
use spaced::rpc::RpcClient;
4-
use testutil::TestRig;
3+
use spaces_client::rpc::RpcClient;
4+
use spaces_testutil::TestRig;
55

66
#[tokio::test]
77
async fn it_should_resync_after_reorg_at_same_height() -> anyhow::Result<()> {

0 commit comments

Comments
 (0)