diff --git a/crates/iroha/tests/mod.rs b/crates/iroha/tests/mod.rs new file mode 100644 index 0000000000..6d988ee1e3 --- /dev/null +++ b/crates/iroha/tests/mod.rs @@ -0,0 +1,4 @@ +mod events; +mod extra_functional; +mod queries; +mod triggers; diff --git a/crates/iroha/tests/triggers/by_call_trigger.rs b/crates/iroha/tests/triggers/by_call_trigger.rs index edd2e954f7..edebfc6e86 100644 --- a/crates/iroha/tests/triggers/by_call_trigger.rs +++ b/crates/iroha/tests/triggers/by_call_trigger.rs @@ -15,7 +15,7 @@ use iroha_executor_data_model::permission::trigger::CanRegisterTrigger; use iroha_test_network::*; use iroha_test_samples::{load_sample_wasm, ALICE_ID}; -use crate::integration::triggers::get_asset_value; +use crate::triggers::get_asset_value; const TRIGGER_NAME: &str = "mint_rose"; diff --git a/crates/iroha/tests/triggers/event_trigger.rs b/crates/iroha/tests/triggers/event_trigger.rs index 001e18acb7..36fec8b6a6 100644 --- a/crates/iroha/tests/triggers/event_trigger.rs +++ b/crates/iroha/tests/triggers/event_trigger.rs @@ -3,7 +3,7 @@ use iroha::data_model::prelude::*; use iroha_test_network::*; use iroha_test_samples::ALICE_ID; -use crate::integration::triggers::get_asset_value; +use crate::triggers::get_asset_value; #[test] fn test_mint_asset_when_new_asset_definition_created() -> Result<()> { diff --git a/crates/iroha/tests/triggers/time_trigger.rs b/crates/iroha/tests/triggers/time_trigger.rs index c565610f70..ce870abce3 100644 --- a/crates/iroha/tests/triggers/time_trigger.rs +++ b/crates/iroha/tests/triggers/time_trigger.rs @@ -13,7 +13,7 @@ use iroha::{ use iroha_test_network::*; use iroha_test_samples::{gen_account_in, load_sample_wasm, ALICE_ID}; -use crate::integration::triggers::get_asset_value; +use crate::triggers::get_asset_value; fn curr_time() -> Duration { use std::time::SystemTime;