From bbe6740d0a0b3f4dd8c1593272a747cfbbb3006b Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 7 Jun 2018 02:57:58 +0200 Subject: Use Storage struct for Storage-specific tests --- src/tests/device.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') 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, -- cgit v1.2.3