Skip to content

Commit

Permalink
fix some integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Roznovjak committed Aug 14, 2024
1 parent b535204 commit 517c000
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion integration-tests/src/cross_chain_transfer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,13 @@ fn polkadot_xcm_execute_extrinsic_should_not_be_allowed() {
Box::new(VersionedXcm::from(xcm_msg)),
Weight::from_parts(400_000_000_000, 0)
),
pallet_xcm::Error::<basilisk_runtime::Runtime>::Filtered
sp_runtime::DispatchErrorWithPostInfo {
post_info: frame_support::dispatch::PostDispatchInfo {
actual_weight: Some(Weight::from_parts(11208000, 0)),
pays_fee: frame_support::dispatch::Pays::Yes,
},
error: pallet_xcm::Error::<basilisk_runtime::Runtime>::Filtered.into()
}
);
});
}
2 changes: 1 addition & 1 deletion integration-tests/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ mod xyk_router_tests {
0,
trades
),
pallet_route_executor::Error::<basilisk_runtime::Runtime>::InsufficientBalance
pallet_xyk::Error::<basilisk_runtime::Runtime>::InsufficientAssetBalance
);

assert_trader_bsx_balance!(BOB_INITIAL_BSX_BALANCE);
Expand Down

0 comments on commit 517c000

Please sign in to comment.