[jboss-cvs] JBossAS SVN: r109691 - branches/JBoss-AS-6.0.x-ipv6/testsuite/src/main/org/jboss/test/web/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Dec 2 23:40:24 EST 2010


Author: rachmatowicz at jboss.com
Date: 2010-12-02 23:40:23 -0500 (Thu, 02 Dec 2010)
New Revision: 109691

Modified:
   branches/JBoss-AS-6.0.x-ipv6/testsuite/src/main/org/jboss/test/web/test/WebProgrammaticLoginTestCase.java
Log:
Fix up base URLs in WebProgrammaticLoginTestCase (JBAS-8540) 

Modified: branches/JBoss-AS-6.0.x-ipv6/testsuite/src/main/org/jboss/test/web/test/WebProgrammaticLoginTestCase.java
===================================================================
--- branches/JBoss-AS-6.0.x-ipv6/testsuite/src/main/org/jboss/test/web/test/WebProgrammaticLoginTestCase.java	2010-12-03 04:34:10 UTC (rev 109690)
+++ branches/JBoss-AS-6.0.x-ipv6/testsuite/src/main/org/jboss/test/web/test/WebProgrammaticLoginTestCase.java	2010-12-03 04:40:23 UTC (rev 109691)
@@ -59,7 +59,7 @@
     */
    public void testUnsuccessfulLogin() throws Exception
    {
-      String baseURLNoAuth = "http://" + getServerHost() 
+      String baseURLNoAuth = "http://" + getServerHostForURL() 
               + ":" + Integer.getInteger("web.port", 8080) + "/"; 
       String path = "war1/TestServlet";
       // try to perform programmatic auth without supplying login information.
@@ -108,7 +108,7 @@
     */
    public void testSuccessfulLogin() throws Exception
    {
-      String baseURLNoAuth = "http://" + getServerHost() 
+      String baseURLNoAuth = "http://" + getServerHostForURL() 
               + ":" + Integer.getInteger("web.port", 8080) + "/"; 
       String path1 = "war1/TestServlet?operation=login&username=jduke&pass=theduke"; 
       HttpMethod indexGet = null;



More information about the jboss-cvs-commits mailing list