mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 16:47:57 +00:00
[Tests] [pallet-timestamp] Add tests for OnTimestampSet. (#11323)
* NF: move tests mod to another file * NF: separate test setup to mock mod * test: check if OnTimestampSet ran correctly. * docs: add license header. * fixup! NF: separate test setup to mock mod * NF: formatting changes
This commit is contained in:
committed by
GitHub
parent
9cb699bfe9
commit
685162cfd6
@@ -56,5 +56,5 @@ benchmarks! {
|
||||
ensure!(!DidUpdate::<T>::exists(), "Time was not removed.");
|
||||
}
|
||||
|
||||
impl_benchmark_test_suite!(Timestamp, crate::tests::new_test_ext(), crate::tests::Test);
|
||||
impl_benchmark_test_suite!(Timestamp, crate::mock::new_test_ext(), crate::mock::Test);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user