diff --git a/pallets/duniter-wot/src/tests.rs b/pallets/duniter-wot/src/tests.rs
index 91690570c48b864f94b3812aab2d0ffd689b5205..d6c8bc0ef0421779ec7198934d18d64d024945e2 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