Skip to content
Snippets Groups Projects

Fix #51 pending membership expiration seem s to revoke a validated identity

3 files
+ 19
5
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -155,6 +155,18 @@ fn test_new_idty_validation() {
WotDiff::AddLink(2, 6)
]
);
// After PendingMembershipPeriod, Ferdie identity should not expire
run_to_block(6);
assert_eq!(
Identity::identity(6),
Some(pallet_identity::IdtyValue {
next_creatable_identity_on: 0,
owner_key: 6,
removable_on: 0,
status: IdtyStatus::Validated,
})
);
});
}
Loading