diff options
author | cyBerta <cyberta@riseup.net> | 2017-11-06 01:18:10 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2017-11-06 01:18:10 +0100 |
commit | bfd95cf2afbf854078861f5c19f1da042246f02d (patch) | |
tree | ca8bc9086e9841184b167b1e48d8755139f91261 /app | |
parent | d94eabbc4919b8484262d31abc996376917d46d4 (diff) |
fix test
Diffstat (limited to 'app')
-rw-r--r-- | app/src/androidTest/java/se/leap/bitmaskclient/test/TestVpnCertificateValidator.java | 5 |
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 |