aboutsummaryrefslogtreecommitdiff
path: root/src/tests/lock.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/lock.rs')
-rw-r--r--src/tests/lock.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/lock.rs b/src/tests/lock.rs
index 5140152..b29f394 100644
--- a/src/tests/lock.rs
+++ b/src/tests/lock.rs
@@ -38,7 +38,7 @@ fn lock_storage(model: nitrokey::Model) -> crate::Result<()> {
let mut manager = nitrokey::force_take()?;
let device = manager.connect_storage()?;
- assert!(!device.get_status()?.encrypted_volume.active);
+ assert!(!device.get_storage_status()?.encrypted_volume.active);
Ok(())
}