diff --git a/pom.xml b/pom.xml index 8e34ec7..75f1299 100644 --- a/pom.xml +++ b/pom.xml @@ -16,6 +16,11 @@ 1.8 + + org.apache.maven.plugins + maven-surefire-plugin + 3.1.2 + diff --git a/src/test/java/test/OTPTest.java b/src/test/java/test/OTPTest.java index 989e0c8..28571b1 100644 --- a/src/test/java/test/OTPTest.java +++ b/src/test/java/test/OTPTest.java @@ -28,7 +28,11 @@ public class OTPTest { String[] expectedValues = { "755224", "287082", "359152", "969429", "338314", "254676", "287922", "162583", "399871", "520489" }; - + + if(VERBOSE) { + System.out.println("calcPin expected"); + } + for (int i = 0; i < 10; i++) { OTP testOTP1 = OTPType.HOTP.instance(base32secret, OTPAlgorithm.SHA1, 6, i, 30, false); String calculatedPin = testOTP1.getPin();