X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;ds=sidebyside;f=tests%2Forg%2Fcacert%2Fgigi%2Fpages%2Fwot%2FTestAssurance.java;h=4108cf8f12d04d5a0058919fdf24f7cca63578d0;hb=1bcc2e29be77cc7347141997de16b90a672d5287;hp=02831cc36842878dce7175d009addbcd4970f221;hpb=ee6876a6b2a79171aa9a83ec9ee56f17b8ad0c0b;p=gigi.git diff --git a/tests/org/cacert/gigi/pages/wot/TestAssurance.java b/tests/org/cacert/gigi/pages/wot/TestAssurance.java index 02831cc3..4108cf8f 100644 --- a/tests/org/cacert/gigi/pages/wot/TestAssurance.java +++ b/tests/org/cacert/gigi/pages/wot/TestAssurance.java @@ -10,14 +10,18 @@ import java.net.MalformedURLException; import java.net.URLConnection; import java.net.URLEncoder; import java.sql.SQLException; +import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.regex.Pattern; +import org.cacert.gigi.database.GigiPreparedStatement; +import org.cacert.gigi.dbObjects.User; import org.cacert.gigi.pages.account.MyDetails; import org.cacert.gigi.testUtils.IOUtils; import org.cacert.gigi.testUtils.ManagedTest; +import org.cacert.gigi.util.DayDate; import org.hamcrest.Matcher; import org.junit.Before; import org.junit.Test; @@ -43,7 +47,7 @@ public class TestAssurance extends ManagedTest { } private Matcher isAssuranceForm() { - return containsString("type=\"checkbox\" name=\"tos_agree\""); + return containsString("