Transaction queue tests update (#4734)

* shuffle tests

* update tests

* inc_nonce -> increment_nonce
This commit is contained in:
Nikolay Volf
2020-01-27 04:22:04 -08:00
committed by GitHub
parent 9cea98e950
commit 94a187f291
5 changed files with 196 additions and 101 deletions
+2 -3
View File
@@ -22,8 +22,6 @@
mod api;
pub mod error;
#[cfg(test)]
mod tests;
#[cfg(any(feature = "test-helpers", test))]
pub mod testing;
@@ -114,7 +112,8 @@ impl<PoolApi, Block> BasicPool<PoolApi, Block>
&self.pool
}
#[cfg(test)]
/// Get reference to the inner chain api, for tests only.
#[cfg(any(feature = "test-helpers", test))]
pub fn api(&self) -> &Arc<PoolApi> {
&self.api
}