Skip to content

Commit

Permalink
pcli: update test code to use pcli init
Browse files Browse the repository at this point in the history
  • Loading branch information
hdevalence committed Oct 30, 2023
1 parent 40aa781 commit 76d4282
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/bin/pcli/tests/network_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ fn load_wallet_into_tmpdir() -> TempDir {
.args([
"--home",
tmpdir.path().to_str().unwrap(),
"keys",
"import",
"phrase",
"init",
"soft-kms",
"import-phrase",
])
.write_stdin(SEED_PHRASE)
.timeout(std::time::Duration::from_secs(TIMEOUT_COMMAND_SECONDS));
setup_cmd
.assert()
.stdout(predicate::str::contains("Saving backup wallet"));
.stdout(predicate::str::contains("Writing generated configs"));

tmpdir
}
Expand Down

0 comments on commit 76d4282

Please sign in to comment.