Fix test.
This commit is contained in:
		
							parent
							
								
									b4faad8469
								
							
						
					
					
						commit
						5f742c9142
					
				@ -133,7 +133,9 @@ mod tests {
 | 
				
			|||||||
	#[test]
 | 
						#[test]
 | 
				
			||||||
	fn it_can_be_started() {
 | 
						fn it_can_be_started() {
 | 
				
			||||||
		let spec = get_test_spec();
 | 
							let spec = get_test_spec();
 | 
				
			||||||
		let service = ClientService::start(spec, NetworkConfiguration::new());
 | 
							let mut p = env::home_dir();
 | 
				
			||||||
 | 
							p.push(".parity");
 | 
				
			||||||
 | 
							let service = ClientService::start(spec, NetworkConfiguration::new(), &p);
 | 
				
			||||||
		assert!(service.is_ok());
 | 
							assert!(service.is_ok());
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user