summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-12 15:00:11 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-12 16:03:32 +0100
commit87e742b4746e1dc261825f0ca87c64a1ea454b1d (patch)
tree0c2d7ac484110f6eb03b685ce332bc5d16a1a0c1 /tests
parentd70e102be6a84ab23a95e2099571bf21fc6c19a5 (diff)
downloadnitrokey-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.
Diffstat (limited to 'tests')
-rw-r--r--tests/device.rs3
-rw-r--r--tests/util/mod.rs1
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";