X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=tests%2Forg%2Fcacert%2Fgigi%2Fpages%2Faccount%2FTestCertificateAdd.java;h=6490c4aa6da1ad4f15e3f86b8f22f8a15191b2b0;hp=9adf7e73fdfa6e7289615c925fc1d4df6f1740ba;hb=52861b747c9687ec8050e73b7c8c7294024634ab;hpb=b1092da65fd373d945343e01dd8975ec3b84db0a diff --git a/tests/org/cacert/gigi/pages/account/TestCertificateAdd.java b/tests/org/cacert/gigi/pages/account/TestCertificateAdd.java index 9adf7e73..6490c4aa 100644 --- a/tests/org/cacert/gigi/pages/account/TestCertificateAdd.java +++ b/tests/org/cacert/gigi/pages/account/TestCertificateAdd.java @@ -1,7 +1,7 @@ package org.cacert.gigi.pages.account; -import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; +import static org.junit.Assert.*; import java.io.ByteArrayInputStream; import java.io.IOException; @@ -174,7 +174,7 @@ public class TestCertificateAdd extends ManagedTest { final long MS_PER_DAY = 24 * 60 * 60 * 1000; now -= now % MS_PER_DAY; now += MS_PER_DAY; - SimpleDateFormat sdf = new SimpleDateFormat("YYYY-MM-dd"); + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); sdf.setTimeZone(TimeZone.getTimeZone("UTC")); Date start = new Date(now);