Skip to content

Commit

Permalink
add test of ump for paraB
Browse files Browse the repository at this point in the history
  • Loading branch information
asiniscalchi committed Oct 4, 2024
1 parent 0cddcbf commit a5bd9ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xcm-simulator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ mod tests {
}

#[test]
fn dmp_para_p() {
fn dmp_para_b() {
MockNet::reset();

let remark = parachain::RuntimeCall::System(
Expand All @@ -198,7 +198,7 @@ mod tests {
Relay::execute_with(|| {
assert_ok!(RelayChainPalletXcm::send_xcm(
Here,
Parachain(1),
Parachain(2),
Xcm(vec![Transact {
origin_kind: OriginKind::SovereignAccount,
require_weight_at_most: Weight::from_parts(INITIAL_BALANCE as u64, 1024 * 1024),
Expand All @@ -207,7 +207,7 @@ mod tests {
));
});

Laosish::execute_with(|| {
ParaB::execute_with(|| {
use parachain::{RuntimeEvent, System};
assert!(System::events().iter().any(|r| matches!(
r.event,
Expand Down

0 comments on commit a5bd9ce

Please sign in to comment.