From 5e62acc1bf112a674997aecd718d493ea0b8e0f7 Mon Sep 17 00:00:00 2001 From: librelois <c@elo.tf> Date: Sat, 4 Jun 2022 17:13:32 +0200 Subject: [PATCH] =?UTF-8?q?tests(wot):=C2=A0IdentityIndexOf=20it's=20corre?= =?UTF-8?q?ctly=20pruned=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since commit 012d096f31c6754deb8a7f5626fb4aab3d85f19a, Â 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. --- pallets/duniter-wot/src/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/duniter-wot/src/tests.rs b/pallets/duniter-wot/src/tests.rs index 91690570c..d6c8bc0ef 100644 --- a/pallets/duniter-wot/src/tests.rs +++ b/pallets/duniter-wot/src/tests.rs @@ -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 -- GitLab