Skip to content

Commit

Permalink
fix forest_headless_encrypt_keystore_with_passphrase_should_succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Aug 16, 2023
1 parent 168505b commit 990732f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/keystore_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ fn forest_headless_encrypt_keystore_with_passphrase_should_succeed() -> Result<(
.common_args()
.arg("--config")
.arg(config_file)
.assert()
.success();
.assert(); // Not calling `success` because no snapshot is provided. Error: Forest requires a snapshot to sync with the network, but automatic fetching is disabled.

assert!(data_dir.path().join(ENCRYPTED_KEYSTORE_NAME).exists());
Ok(())
Expand Down

0 comments on commit 990732f

Please sign in to comment.