Skip to content
Snippets Groups Projects
Commit 6c35d792 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(#148): reveal bug with a test

parent bd45d2f6
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,8 @@ fn test_too_many_authorities() { ...@@ -175,6 +175,8 @@ fn test_too_many_authorities() {
assert_eq!(AuthorityMembers::authorities_counter(), 3); assert_eq!(AuthorityMembers::authorities_counter(), 3);
assert_ok!(AuthorityMembers::go_online(RuntimeOrigin::signed(15)),); assert_ok!(AuthorityMembers::go_online(RuntimeOrigin::signed(15)),);
assert_eq!(AuthorityMembers::authorities_counter(), 4); assert_eq!(AuthorityMembers::authorities_counter(), 4);
assert_ok!(AuthorityMembers::remove_member(RawOrigin::Root.into(), 15));
assert_eq!(AuthorityMembers::authorities_counter(), 3);
}); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment