aboutsummaryrefslogtreecommitdiff
path: root/src/tests/reset.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/reset.rs')
-rw-r--r--src/tests/reset.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/reset.rs b/src/tests/reset.rs
index e197970..23137bf 100644
--- a/src/tests/reset.rs
+++ b/src/tests/reset.rs
@@ -25,7 +25,7 @@ use super::*;
#[test_device]
fn reset(model: nitrokey::Model) -> crate::Result<()> {
let new_admin_pin = "87654321";
- let mut ncli = Nitrocli::with_model(model);
+ let mut ncli = Nitrocli::make().model(model).build();
// Change the admin PIN.
ncli.new_admin_pin(new_admin_pin);