diff --git a/runtime/integration-tests/src/cases/restricted_transfers.rs b/runtime/integration-tests/src/cases/restricted_transfers.rs index 25adf9d90b..bb1cfe7466 100644 --- a/runtime/integration-tests/src/cases/restricted_transfers.rs +++ b/runtime/integration-tests/src/cases/restricted_transfers.rs @@ -21,7 +21,6 @@ use cfg_types::{ }; use cumulus_primitives_core::WeightLimit; use frame_support::{assert_noop, assert_ok, dispatch::RawOrigin, traits::PalletInfo}; -use pallet_liquidity_pools_gateway_queue::MessageNonceStore; use runtime_common::remarks::Remark; use sp_runtime::traits::Zero; use staging_xcm::{ @@ -358,7 +357,6 @@ mod xcm { mod eth_address { use super::*; - use crate::utils::last_event; const TRANSFER: u32 = 10; const CHAIN_ID: u64 = 1; @@ -425,22 +423,6 @@ mod eth_address { curr_contract, curr.val(TRANSFER), )); - - assert_ok!( - pallet_liquidity_pools_gateway_queue::Pallet::::process_message( - RawOrigin::Signed(Keyring::Alice.into()).into(), - MessageNonceStore::::get(), - ) - ); - - let last_event = last_event::>(); - assert!(matches!( - last_event, - pallet_liquidity_pools_gateway_queue::Event::::MessageExecutionFailure { - error, - .. - } if error == pallet_axelar_router::Error::::RouterNotFound.into() - )); }); } }