Upgrade to testcontainers v0.12

This commit is contained in:
Thomas Eizinger 2021-02-16 17:09:09 +11:00
parent 7a9569ffd4
commit 8c83f7e2e1
No known key found for this signature in database
GPG key ID: 651AC83A6C6C8B96
7 changed files with 55 additions and 39 deletions

View file

@ -1,6 +1,6 @@
use std::collections::HashMap;
use testcontainers::{
core::{Container, Docker, Port, WaitForMessage},
core::{Container, Docker, WaitForMessage},
Image,
};
@ -55,10 +55,6 @@ impl Image for Bitcoind {
HashMap::new()
}
fn ports(&self) -> Option<Vec<Port>> {
None
}
fn with_args(self, args: <Self as Image>::Args) -> Self {
Bitcoind { args, ..self }
}