Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
Fix breaking tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Apr 26, 2024
1 parent 235582a commit 6cc2175
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bridges/snowbridge/pallets/system/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ fn create_channel_bad_origin() {
BadOrigin,
);

// child of sibling location not allowed
// child of sibling location is allowed
assert_noop!(
EthereumSystem::create_channel(
make_xcm_origin(Location::new(
Expand All @@ -294,7 +294,7 @@ fn create_channel_bad_origin() {
)),
OperatingMode::Normal,
),
BadOrigin,
Error::<Test>::NoAgent,
);

// local account location not allowed
Expand Down Expand Up @@ -357,7 +357,7 @@ fn update_channel_bad_origin() {
BadOrigin,
);

// child of sibling location not allowed
// child of sibling location is allowed
assert_noop!(
EthereumSystem::update_channel(
make_xcm_origin(Location::new(
Expand All @@ -366,7 +366,7 @@ fn update_channel_bad_origin() {
)),
mode,
),
BadOrigin,
Error::<Test>::NoChannel,
);

// local account location not allowed
Expand Down

0 comments on commit 6cc2175

Please sign in to comment.