summaryrefslogtreecommitdiff
path: root/src/tests/encrypted.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/encrypted.rs')
-rw-r--r--src/tests/encrypted.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/encrypted.rs b/src/tests/encrypted.rs
index 75b84c3..aed2662 100644
--- a/src/tests/encrypted.rs
+++ b/src/tests/encrypted.rs
@@ -77,8 +77,8 @@ fn encrypted_open_close(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_status()?.hidden_volume.active);
+ assert!(device.get_storage_status()?.encrypted_volume.active);
+ assert!(!device.get_storage_status()?.hidden_volume.active);
}
let out = ncli.handle(&["encrypted", "close"])?;
@@ -87,8 +87,8 @@ fn encrypted_open_close(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_status()?.hidden_volume.active);
+ assert!(!device.get_storage_status()?.encrypted_volume.active);
+ assert!(!device.get_storage_status()?.hidden_volume.active);
}
Ok(())