summaryrefslogtreecommitdiff
path: root/src/tests/hidden.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/hidden.rs')
-rw-r--r--src/tests/hidden.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/hidden.rs b/src/tests/hidden.rs
index 82a4630..1b072e1 100644
--- a/src/tests/hidden.rs
+++ b/src/tests/hidden.rs
@@ -7,7 +7,7 @@ use super::*;
#[test_device(storage)]
fn hidden_create_open_close(model: nitrokey::Model) -> anyhow::Result<()> {
- let mut ncli = Nitrocli::with_model(model);
+ let mut ncli = Nitrocli::new().model(model).password("1234567");
let out = ncli.handle(&["hidden", "create", "0", "50", "100"])?;
assert!(out.is_empty());