summaryrefslogtreecommitdiff
path: root/src/tests/unencrypted.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/unencrypted.rs')
-rw-r--r--src/tests/unencrypted.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/unencrypted.rs b/src/tests/unencrypted.rs
index 26c6604..89049de 100644
--- a/src/tests/unencrypted.rs
+++ b/src/tests/unencrypted.rs
@@ -7,7 +7,7 @@ use super::*;
#[test_device(storage)]
fn unencrypted_set_read_write(model: nitrokey::Model) -> anyhow::Result<()> {
- let mut ncli = Nitrocli::with_model(model);
+ let mut ncli = Nitrocli::new().model(model);
let out = ncli.handle(&["unencrypted", "set", "read-write"])?;
assert!(out.is_empty());