aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tests/pro.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tests/pro.rs b/src/tests/pro.rs
index d2132f8..732c248 100644
--- a/src/tests/pro.rs
+++ b/src/tests/pro.rs
@@ -108,8 +108,7 @@ fn hotp_pin() {
let user = admin.device().authenticate_user(USER_PASSWORD).unwrap();
check_hotp_codes(&user);
- // TODO: enable for newer libnitrokey
- // assert!(user.device().get_hotp_code(1).is_err());
+ assert!(user.device().get_hotp_code(1).is_err());
}
#[test]
@@ -209,8 +208,7 @@ fn totp_pin() {
let user = admin.device().authenticate_user(USER_PASSWORD).unwrap();
check_totp_codes(&user);
- // TODO: enable for newer libnitrokey
- // assert!(user.device().get_totp_code(1).is_err());
+ assert!(user.device().get_totp_code(1).is_err());
}
#[test]