mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-02 23:05:10 -04:00
Upgrade to testcontainers v0.12
This commit is contained in:
parent
7a9569ffd4
commit
8c83f7e2e1
7 changed files with 55 additions and 39 deletions
|
@ -2,7 +2,7 @@ use crate::testutils::bitcoind;
|
|||
use bitcoin::Network;
|
||||
use std::collections::HashMap;
|
||||
use testcontainers::{
|
||||
core::{Container, Docker, Port, WaitForMessage},
|
||||
core::{Container, Docker, WaitForMessage},
|
||||
Image,
|
||||
};
|
||||
|
||||
|
@ -51,10 +51,6 @@ impl Image for Electrs {
|
|||
HashMap::new()
|
||||
}
|
||||
|
||||
fn ports(&self) -> Option<Vec<Port>> {
|
||||
None
|
||||
}
|
||||
|
||||
fn with_args(self, args: <Self as Image>::Args) -> Self {
|
||||
Electrs { args, ..self }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue