Skip to content

Commit

Permalink
fix: Restore some integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Murzin <diralik@yandex.ru>
  • Loading branch information
dima74 committed Oct 23, 2024
1 parent 34b5655 commit bd41988
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions crates/iroha/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
mod events;
mod extra_functional;
mod queries;
mod triggers;
2 changes: 1 addition & 1 deletion crates/iroha/tests/triggers/by_call_trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
2 changes: 1 addition & 1 deletion crates/iroha/tests/triggers/event_trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand Down
2 changes: 1 addition & 1 deletion crates/iroha/tests/triggers/time_trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bd41988

Please sign in to comment.