Skip to content

Commit

Permalink
pallet-vesting: Move tests module and create mock module (parityt…
Browse files Browse the repository at this point in the history
…ech#9234)

* pallet-vesting: Move `tests` module to seperate file

* Move mock to own file

* add copyright header appache-2.0

* fix mock import paths in benchmark test macro
  • Loading branch information
emostov authored Jun 30, 2021
1 parent 631d4cd commit a4c8ab9
Show file tree
Hide file tree
Showing 4 changed files with 525 additions and 477 deletions.
4 changes: 2 additions & 2 deletions frame/vesting/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,6 @@ benchmarks! {

impl_benchmark_test_suite!(
Vesting,
crate::tests::ExtBuilder::default().existential_deposit(256).build(),
crate::tests::Test,
crate::mock::ExtBuilder::default().existential_deposit(256).build(),
crate::mock::Test,
);
Loading

0 comments on commit a4c8ab9

Please sign in to comment.