Skip to content

Commit

Permalink
Tweaked agency_client feature flags
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Mircea <[email protected]>
  • Loading branch information
bobozaur committed Oct 18, 2023
1 parent b648f53 commit 3e9c893
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions agency_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ edition.workspace = true
[lib]
doctest = false

[features]
test_utils = []
general_test = ["test_utils"]

[dependencies]
async-trait = "0.1.53"
env_logger = "0.9.0"
Expand Down
1 change: 0 additions & 1 deletion agency_client/src/messages/a2a_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,6 @@ impl A2AMessageKinds {
}
}

#[cfg(feature = "general_test")]
#[cfg(test)]
mod test {
use serde_json::json;
Expand Down
3 changes: 0 additions & 3 deletions agency_client/src/messages/create_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,12 @@ impl CreateKeyBuilder {
}
}

#[cfg(feature = "general_test")]
#[cfg(test)]
mod tests {
use super::*;
use crate::errors::error::AgencyClientErrorKind;

#[test]
#[cfg(feature = "general_test")]
fn test_create_key_set_values() {
let for_did = "11235yBzrpJQmNyZzgoTqB";
let for_verkey = "EkVTa7SCJ5SntpYyX7CSb2pcBhiVGT9kWSagA8a9T69A";
Expand All @@ -85,7 +83,6 @@ mod tests {
}

#[test]
#[cfg(feature = "general_test")]
fn test_create_key_set_invalid_did_errors() {
let for_did = "11235yBzrpJQmNyZzgoT";
let res = CreateKeyBuilder::create().for_did(for_did).unwrap_err();
Expand Down
1 change: 0 additions & 1 deletion agency_client/src/messages/update_com_method.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ impl UpdateComMethod {
}

#[cfg(test)]
#[cfg(feature = "general_test")]
mod tests {
use super::*;

Expand Down
1 change: 0 additions & 1 deletion agency_client/src/testing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ pub mod mocking;
#[rustfmt::skip]
pub mod test_constants;
pub mod test_settings;
#[cfg(feature = "test_utils")]
pub mod test_utils;

0 comments on commit 3e9c893

Please sign in to comment.