Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tmpolaczyk committed Oct 9, 2023
1 parent 1d3caac commit 6a33406
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions runtime/dancebox/tests/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1630,17 +1630,20 @@ fn test_author_noting_set_author_and_kill_author_data_bad_origin() {
.execute_with(|| {
let other_para: ParaId = 1001u32.into();

assert_noop!(AuthorNoting::set_author(
origin_of(ALICE.into()),
other_para,
1,
AccountId::from(DAVE)
), BadOrigin);
assert_noop!(
AuthorNoting::set_author(
origin_of(ALICE.into()),
other_para,
1,
AccountId::from(DAVE)
),
BadOrigin
);

assert_noop!(AuthorNoting::kill_author_data(
origin_of(ALICE.into()),
other_para
), BadOrigin);
assert_noop!(
AuthorNoting::kill_author_data(origin_of(ALICE.into()), other_para),
BadOrigin
);
});
}

Expand Down

0 comments on commit 6a33406

Please sign in to comment.