Use construct_runtime in tests (#8059)

* impl some more

* add serde

* remove unused

* fix staking fuzz

* fix system bench

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Guillaume Thiolliere
2021-02-06 21:12:46 +01:00
committed by GitHub
parent 4b1460f61f
commit 0ed683ca13
18 changed files with 446 additions and 445 deletions
+5 -5
View File
@@ -637,7 +637,7 @@ pub trait SignedPayload<T: SigningTypes>: Encode {
mod tests {
use super::*;
use codec::Decode;
use crate::mock::{Test as TestRuntime, Call};
use crate::mock::{Test as TestRuntime, Call, CALL};
use sp_core::offchain::{testing, TransactionPoolExt};
use sp_runtime::testing::{UintAuthorityId, TestSignature, TestXt};
@@ -708,7 +708,7 @@ mod tests {
public: account.public.clone()
},
|_payload, _signature| {
Call
CALL.clone()
}
);
@@ -749,7 +749,7 @@ mod tests {
public: account.public.clone()
},
|_payload, _signature| {
Call
CALL.clone()
}
);
@@ -787,7 +787,7 @@ mod tests {
public: account.public.clone()
},
|_payload, _signature| {
Call
CALL.clone()
}
);
@@ -827,7 +827,7 @@ mod tests {
public: account.public.clone()
},
|_payload, _signature| {
Call
CALL.clone()
}
);