[ethcore]: move client test types to test-helpers (#11062)

This commit is contained in:
Niklas Adolfsson
2019-09-17 16:42:22 +02:00
committed by Andrew Jones
parent acad59b300
commit b6415c6196
38 changed files with 65 additions and 69 deletions

View File

@@ -120,7 +120,7 @@ fn get_param<'a>(query: &'a str, name: &str) -> Option<&'a str> {
mod tests {
use std::sync::Arc;
use super::*;
use ethcore::client::TestBlockChainClient;
use ethcore::test_helpers::TestBlockChainClient;
fn get_mocked_handler() -> IpfsHandler {
IpfsHandler::new(None.into(), None.into(), Arc::new(TestBlockChainClient::new()))