Skip to content

Commit ab568e3

Browse files
committed
Move BDK integration tests from payjoin-ffi to rust-payjoin
1 parent c8b4f36 commit ab568e3

File tree

3 files changed

+457
-0
lines changed

3 files changed

+457
-0
lines changed

payjoin/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ url = { version = "2.2.2", optional = true }
4343
serde_json = { version = "1.0.108", optional = true }
4444

4545
[dev-dependencies]
46+
bdk = { version = "0.29.0", features = ["all-keys", "use-esplora-ureq", "keys-bip39", "rpc"] }
47+
bitcoincore-rpc = "0.19.0"
4648
bitcoind = { version = "0.36.0", features = ["0_21_2"] }
49+
#bitcoin-ffi = { git = "https://github.com/benalleng/bitcoin-ffi.git", rev = "8e3a23b" }
4750
payjoin-test-utils = { version = "0.0.1" }
4851
once_cell = "1.19.0"
4952
tokio = { version = "1.38.1", features = ["full"] }

payjoin/contrib/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ set -e
33

44
cargo test --locked --package payjoin --verbose --all-features --lib
55
cargo test --locked --package payjoin --verbose --all-features --test integration
6+
cargo test --locked --package payjoin --verbose --all-features --test bdk_integration_test

0 commit comments

Comments
 (0)