summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/se/leap
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-11-06 01:18:10 +0100
committercyBerta <cyberta@riseup.net>2017-11-06 01:18:10 +0100
commitbfd95cf2afbf854078861f5c19f1da042246f02d (patch)
treeca8bc9086e9841184b167b1e48d8755139f91261 /app/src/androidTest/java/se/leap
parentd94eabbc4919b8484262d31abc996376917d46d4 (diff)
fix test
Diffstat (limited to 'app/src/androidTest/java/se/leap')
-rw-r--r--app/src/androidTest/java/se/leap/bitmaskclient/test/TestVpnCertificateValidator.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/test/TestVpnCertificateValidator.java b/app/src/androidTest/java/se/leap/bitmaskclient/test/TestVpnCertificateValidator.java
index 97a0e36d..95e83cfe 100644
--- a/app/src/androidTest/java/se/leap/bitmaskclient/test/TestVpnCertificateValidator.java
+++ b/app/src/androidTest/java/se/leap/bitmaskclient/test/TestVpnCertificateValidator.java
@@ -65,7 +65,7 @@ public class TestVpnCertificateValidator extends InstrumentationTestCase {
calendar.set(Calendar.YEAR, 2012);
calendar.set(Calendar.MONTH, Calendar.NOVEMBER);
- calendar.set(Calendar.DAY_OF_MONTH, 6);
+ calendar.set(Calendar.DAY_OF_MONTH, 7);
validator.setCalendarProvider(new TestCalendarProvider(calendar.getTimeInMillis()));
assertTrue(validator.isValid());
@@ -77,10 +77,11 @@ public class TestVpnCertificateValidator extends InstrumentationTestCase {
calendar.set(Calendar.YEAR, 2022);
calendar.set(Calendar.MONTH, Calendar.OCTOBER);
- calendar.set(Calendar.DAY_OF_MONTH, 22);
+ calendar.set(Calendar.DAY_OF_MONTH, 23);
validator.setCalendarProvider(new TestCalendarProvider(calendar.getTimeInMillis()));
assertFalse(validator.isValid());
}
}
+2 \ No newline at end of file