From b5c463eaacf6ce9d1250a26fc38ac339c15fba3b Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 1 Dec 2022 10:44:00 +1100 Subject: [PATCH] Fix cli tests --- lighthouse/tests/validator_manager.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lighthouse/tests/validator_manager.rs b/lighthouse/tests/validator_manager.rs index 73ea58db29..0723fa5bfc 100644 --- a/lighthouse/tests/validator_manager.rs +++ b/lighthouse/tests/validator_manager.rs @@ -7,7 +7,7 @@ use std::process::{Command, Stdio}; use std::str::FromStr; use tempfile::{tempdir, TempDir}; use types::*; -use validator_manager::validators::{ +use validator_manager::{ create_validators::CreateConfig, import_validators::ImportConfig, move_validators::{MoveConfig, Validators}, @@ -84,23 +84,19 @@ impl CommandLineTest { impl CommandLineTest { fn validators_create() -> Self { - Self::default() - .flag("validators", None) - .flag("create", None) + Self::default().flag("create", None) } } impl CommandLineTest { fn validators_import() -> Self { - Self::default() - .flag("validators", None) - .flag("import", None) + Self::default().flag("import", None) } } impl CommandLineTest { fn validators_move() -> Self { - Self::default().flag("validators", None).flag("move", None) + Self::default().flag("move", None) } }