]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/pages/main/RegisterPageTest.java
add date-validity checker in 'CalendarUtil'
[gigi.git] / tests / org / cacert / gigi / pages / main / RegisterPageTest.java
index 695598ae7d0225d03473570bb65acd3a1d58c034..9e68c0ba77efc6ef847e8302339a8d35644bae6d 100644 (file)
@@ -95,6 +95,7 @@ public class RegisterPageTest extends ManagedTest {
     public void testInvDay() throws IOException {
         testFailedForm("fname=a&lname=b&email=e&pword1=ap&pword2=ap&day=40&month=1&year=1910&cca_agree=1");
         testFailedForm("fname=a&lname=b&email=e&pword1=ap&pword2=ap&day=0&month=1&year=1910&cca_agree=1");
+        testFailedForm("fname=a&lname=b&email=e&pword1=ap&pword2=ap&day=-1&month=1&year=1910&cca_agree=1");
         testFailedForm("fname=a&lname=b&email=e&pword1=ap&pword2=ap&day=a&month=1&year=1910&cca_agree=1");
     }