diff options
Diffstat (limited to 'src/tests/hidden.rs')
-rw-r--r-- | src/tests/hidden.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/hidden.rs b/src/tests/hidden.rs index 28a5d23..eabcfd4 100644 --- a/src/tests/hidden.rs +++ b/src/tests/hidden.rs @@ -31,8 +31,8 @@ fn hidden_create_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(&["hidden", "close"])?; @@ -41,8 +41,8 @@ fn hidden_create_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(()) |