Skip to content
Snippets Groups Projects
Commit 5578e8f2 authored by Mildred Ki'Lya's avatar Mildred Ki'Lya
Browse files

Remove no longer needed test_revoke_smiths_them_rejoin in duniter-wot

parent fcd17363
No related branches found
No related tags found
1 merge request!94Remove RevocationPeriod rule
This commit is part of merge request !94. Comments created here will be created in the context of that merge request.
......@@ -143,26 +143,6 @@ fn test_smith_member_cant_revoke_its_idty() {
});
}
#[test]
fn test_revoke_smiths_them_rejoin() {
new_test_ext(5, 4).execute_with(|| {
run_to_block(2);
// Dave shoud be able to revoke his smith membership
assert_ok!(SmithsMembership::revoke_membership(
Origin::signed(4),
Some(4)
));
// At block #6, Dave shoud be able to request smith membership
run_to_block(6);
assert_ok!(SmithsMembership::request_membership(Origin::signed(4), ()));
// Then, Alice should be able to send a smith cert to Dave
assert_ok!(SmithsCert::add_cert(Origin::signed(1), 1, 4));
});
}
#[test]
fn test_create_idty_ok() {
new_test_ext(5, 2).execute_with(|| {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment