summaryrefslogtreecommitdiff
path: root/src/tests/pin.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/pin.rs')
-rw-r--r--src/tests/pin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/pin.rs b/src/tests/pin.rs
index 551454c..7770fba 100644
--- a/src/tests/pin.rs
+++ b/src/tests/pin.rs
@@ -61,7 +61,7 @@ fn set_user(model: nitrokey::Model) -> anyhow::Result<()> {
{
let mut manager = nitrokey::force_take()?;
- let device = manager.connect_model(ncli.model().unwrap())?;
+ let device = manager.connect_model(model)?;
let _ = device
.authenticate_user(nitrokey::DEFAULT_USER_PIN)
.unwrap();