Browse Source

Storage: fix mock runtime

iorveth 4 years ago
parent
commit
dc39181954

+ 0 - 1
runtime-modules/service-discovery/src/mock.rs

@@ -167,7 +167,6 @@ pub(crate) fn hire_storage_provider() -> (u64, u64) {
         role_account_id,
         reward_relationship: None,
         role_stake_profile: None,
-        storage: Vec::new(),
     };
 
     <working_group::WorkerById<Test, StorageWorkingGroupInstance>>::insert(

+ 0 - 2
runtime-modules/storage/src/tests/mock.rs

@@ -63,7 +63,6 @@ impl SetLeadFixture {
             role_account_id: DEFAULT_LEADER_ACCOUNT_ID,
             reward_relationship: None,
             role_stake_profile: None,
-            storage: Vec::new(),
         };
 
         // Create the worker.
@@ -402,7 +401,6 @@ pub(crate) fn hire_storage_provider() -> (u64, u32) {
         role_account_id,
         reward_relationship: None,
         role_stake_profile: None,
-        storage: Vec::new(),
     };
 
     <working_group::WorkerById<Test, StorageWorkingGroupInstance>>::insert(