diff --git a/runtime/common/src/test.rs b/runtime/common/src/test.rs index 4dfcc9b8f..93fe471b8 100644 --- a/runtime/common/src/test.rs +++ b/runtime/common/src/test.rs @@ -977,6 +977,20 @@ macro_rules! impl_governance_tests { // Values assert_eq!(<::MaxApprovals as Get>::get(), 100); } + + #[test] + fn membership_setting_correctly() { + // Origins + assert_type_eq_all!(>::AddOrigin, Root); + assert_type_eq_all!(>::MembershipChanged, TechnicalCommittee); + assert_type_eq_all!(>::MembershipInitialized, TechnicalCommittee); + assert_type_eq_all!(>::PrimeOrigin, Root); + assert_type_eq_all!(>::RemoveOrigin, Root); + assert_type_eq_all!(>::ResetOrigin, Root); + assert_type_eq_all!(>::SwapOrigin, Root); + // Values + assert_eq!(<>::MaxMembers as Get>::get(), COLLECTIVE_MAX_MEMBERS); + } } } }