]> WPIA git - gigi.git/blobdiff - tests/org/cacert/gigi/pages/main/RegisterPageTest.java
externalized post in testcase for automatic testing
[gigi.git] / tests / org / cacert / gigi / pages / main / RegisterPageTest.java
index 97e6f8182fdb7e1cd6287c2d4ae5231b7d962446..633fddc60f5273b68f91601b7f8c6d4b3f73ddc0 100644 (file)
@@ -1,6 +1,7 @@
 package org.cacert.gigi.pages.main;
 
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertNotEquals;
+import static org.junit.Assert.assertTrue;
 
 import java.io.IOException;
 import java.io.UnsupportedEncodingException;
@@ -17,10 +18,11 @@ import org.junit.Test;
 
 public class RegisterPageTest {
        private static final URL registerService;
+       private static final int PORT = 4431;
        static {
                URL u = null;
                try {
-                       u = new URL("https://localhost/register");
+                       u = new URL("https://localhost:" + PORT + "/register");
                } catch (MalformedURLException e) {
                        e.printStackTrace();
                }