From bfd95cf2afbf854078861f5c19f1da042246f02d Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 6 Nov 2017 01:18:10 +0100 Subject: fix test --- .../java/se/leap/bitmaskclient/test/TestVpnCertificateValidator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/src') 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 -- cgit v1.2.3