]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/pages/wot/TestAssurance.java
FIX: fix some date patterns.... What is a weak year anyway....
[gigi.git] / tests / org / cacert / gigi / pages / wot / TestAssurance.java
index ccbe1774139894fd73d607ed26391352815075c2..f519fb4e4744c4cbab15a775200efc3d3228f0d0 100644 (file)
@@ -127,7 +127,7 @@ public class TestAssurance extends ManagedTest {
 
     @Test
     public void testAssureFormFuture() throws IOException {
-        SimpleDateFormat sdf = new SimpleDateFormat("YYYY");
+        SimpleDateFormat sdf = new SimpleDateFormat("yyyy");
         int year = Integer.parseInt(sdf.format(new Date(System.currentTimeMillis()))) + 2;
         String error = getError("date=" + year + "-01-01&location=testcase&certify=1&rules=1&CCAAgreed=1&assertion=1&points=10");
         assertTrue(error, !error.startsWith("</div>"));