add test for store trait (#8711)

This commit is contained in:
Guillaume Thiolliere
2021-05-04 21:57:26 +02:00
committed by GitHub
parent 98744eb3b2
commit 34e83e0be8
@@ -509,6 +509,15 @@ fn instance_expand() {
let _: pallet::__InherentHiddenInstance = ();
}
#[test]
fn trait_store_expand() {
TestExternalities::default().execute_with(|| {
<pallet::Pallet<Runtime> as pallet::Store>::Value::get();
<pallet::Pallet<Runtime> as pallet::Store>::Map::get(1);
<pallet::Pallet<Runtime> as pallet::Store>::DoubleMap::get(1, 2);
})
}
#[test]
fn pallet_expand_deposit_event() {
TestExternalities::default().execute_with(|| {