From 87e742b4746e1dc261825f0ca87c64a1ea454b1d Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sat, 12 Jan 2019 15:00:11 +0000 Subject: Move the update PIN from tests/util to tests/device The update PIN is only used in the Storage tests, so it is moved from the common tests/util module to the tests/device module. This fixes compiler warnings when compiling the other test modules. --- tests/device.rs | 3 ++- tests/util/mod.rs | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/device.rs b/tests/device.rs index 4d78f12..6f21dcb 100644 --- a/tests/device.rs +++ b/tests/device.rs @@ -10,9 +10,10 @@ use nitrokey::{ }; use nitrokey_test::test as test_device; -use crate::util::{ADMIN_PASSWORD, UPDATE_PIN, USER_PASSWORD}; +use crate::util::{ADMIN_PASSWORD, USER_PASSWORD}; static ADMIN_NEW_PASSWORD: &str = "1234567890"; +static UPDATE_PIN: &str = "12345678"; static UPDATE_NEW_PIN: &str = "87654321"; static USER_NEW_PASSWORD: &str = "abcdefghij"; diff --git a/tests/util/mod.rs b/tests/util/mod.rs index 1e522fd..cbf6b93 100644 --- a/tests/util/mod.rs +++ b/tests/util/mod.rs @@ -1,3 +1,2 @@ pub static ADMIN_PASSWORD: &str = "12345678"; -pub static UPDATE_PIN: &str = "12345678"; pub static USER_PASSWORD: &str = "123456"; -- cgit v1.2.1