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

Commit 6cc2175

Browse files
committed
Fix breaking tests
1 parent 235582a commit 6cc2175

File tree

1 file changed

+4
-4
lines changed
  • bridges/snowbridge/pallets/system/src

1 file changed

+4
-4
lines changed

bridges/snowbridge/pallets/system/src/tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ fn create_channel_bad_origin() {
285285
BadOrigin,
286286
);
287287

288-
// child of sibling location not allowed
288+
// child of sibling location is allowed
289289
assert_noop!(
290290
EthereumSystem::create_channel(
291291
make_xcm_origin(Location::new(
@@ -294,7 +294,7 @@ fn create_channel_bad_origin() {
294294
)),
295295
OperatingMode::Normal,
296296
),
297-
BadOrigin,
297+
Error::<Test>::NoAgent,
298298
);
299299

300300
// local account location not allowed
@@ -357,7 +357,7 @@ fn update_channel_bad_origin() {
357357
BadOrigin,
358358
);
359359

360-
// child of sibling location not allowed
360+
// child of sibling location is allowed
361361
assert_noop!(
362362
EthereumSystem::update_channel(
363363
make_xcm_origin(Location::new(
@@ -366,7 +366,7 @@ fn update_channel_bad_origin() {
366366
)),
367367
mode,
368368
),
369-
BadOrigin,
369+
Error::<Test>::NoChannel,
370370
);
371371

372372
// local account location not allowed

0 commit comments

Comments
 (0)