summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/device.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/device.rs b/src/tests/device.rs
index 7f7a819..22423fa 100644
--- a/src/tests/device.rs
+++ b/src/tests/device.rs
@@ -245,7 +245,7 @@ fn unlock_user_pin() {
#[test]
#[cfg_attr(not(feature = "test-storage"), ignore)]
fn encrypted_volume() {
- let device = Target::connect().unwrap();
+ let device = Storage::connect().unwrap();
assert_eq!(CommandStatus::Success, device.lock());
assert_eq!(1, count_nitrokey_block_devices());
@@ -268,7 +268,7 @@ fn encrypted_volume() {
#[test]
#[cfg_attr(not(feature = "test-storage"), ignore)]
fn lock() {
- let device = Target::connect().unwrap();
+ let device = Storage::connect().unwrap();
assert_eq!(
CommandStatus::Success,