Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion mithril-client-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithril-client-cli"
version = "0.12.31"
version = "0.12.32"
description = "A Mithril Client"
authors = { workspace = true }
edition = { workspace = true }
Expand Down
4 changes: 2 additions & 2 deletions mithril-client-cli/src/commands/cardano_db/download/v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ impl PreparedCardanoDbV1Download {
mod tests {
use mithril_client::{
MithrilCertificateMetadata,
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType},
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType, test::Dummy},
};
use mithril_common::test::{TempDir, double::Dummy};
use mithril_common::test::TempDir;

use super::*;

Expand Down
2 changes: 1 addition & 1 deletion mithril-client-cli/src/commands/cardano_db/download/v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ impl PreparedCardanoDbV2Download {

#[cfg(test)]
mod tests {
use mithril_client::common::test::Dummy;
use mithril_client::common::{AncillaryMessagePart, DigestsMessagePart, ImmutablesMessagePart};
use mithril_common::test::double::Dummy;

use super::*;

Expand Down
4 changes: 2 additions & 2 deletions mithril-client-cli/src/commands/cardano_db/shared_steps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ pub fn log_download_information(
mod tests {
use mithril_client::{
MithrilCertificateMetadata,
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType},
common::{CardanoDbBeacon, ProtocolMessagePartKey, SignedEntityType, test::Dummy},
};
use mithril_common::test::{TempDir, double::Dummy};
use mithril_common::test::TempDir;

use crate::utils::ProgressOutputType;

Expand Down
2 changes: 1 addition & 1 deletion mithril-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithril-client"
version = "0.12.31"
version = "0.12.32"
description = "Mithril client library"
authors = { workspace = true }
edition = { workspace = true }
Expand Down
7 changes: 7 additions & 0 deletions mithril-client/src/type_alias.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,11 @@ pub mod common {
pub use mithril_common::messages::{
AncillaryMessagePart, DigestsMessagePart, ImmutablesMessagePart,
};

/// Test utilities.
///
/// ⚠ Do not use in production code ⚠
pub mod test {
pub use mithril_common::test::double::Dummy;
}
}
Loading