mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 09:57:56 +00:00
add test for store trait (#8711)
This commit is contained in:
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(|| {
|
||||
|
||||
Reference in New Issue
Block a user