Skip to content
Snippets Groups Projects
Commit 5e62acc1 authored by Éloïs's avatar Éloïs
Browse files

tests(wot): IdentityIndexOf it's correctly pruned now

Since commit 012d096f,  IdentityIndexOf it's correctly pruned. Before this commit, we found the associated author, even for a removed identity, it still failed when we tried to modify the identity, but then the error returned was not the right one.
parent 2152348f
No related branches found
No related tags found
1 merge request!61fix(wot): Identity should be removed after the consumers of the identity & membership revocation should not trigger identity removal
......@@ -251,7 +251,7 @@ fn test_idty_membership_expire_them_requested() {
// Alice can't renew it's cert to Charlie
assert_err!(
Cert::add_cert(Origin::signed(1), 3),
pallet_certification::Error::<Test, Instance1>::CertNotAllowed
pallet_certification::Error::<Test, Instance1>::ReceiverNotFound
);
/*// Charlie should be able to request membership
......
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