diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 15:00:11 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-12 16:03:32 +0100 |
commit | 87e742b4746e1dc261825f0ca87c64a1ea454b1d (patch) | |
tree | 0c2d7ac484110f6eb03b685ce332bc5d16a1a0c1 | |
parent | d70e102be6a84ab23a95e2099571bf21fc6c19a5 (diff) | |
download | nitrokey-rs-87e742b4746e1dc261825f0ca87c64a1ea454b1d.tar.gz nitrokey-rs-87e742b4746e1dc261825f0ca87c64a1ea454b1d.tar.bz2 |
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.
-rw-r--r-- | tests/device.rs | 3 | ||||
-rw-r--r-- | 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"; |