geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r579427 - /geronimo/server/trunk/testsuite/web-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestSecurity.java
Date Wed, 26 Sep 2007 02:05:05 GMT
Author: gawor
Date: Tue Sep 25 19:05:01 2007
New Revision: 579427

URL: http://svn.apache.org/viewvc?rev=579427&view=rev
Log:
use right username/password

Modified:
    geronimo/server/trunk/testsuite/web-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestSecurity.java

Modified: geronimo/server/trunk/testsuite/web-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestSecurity.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/web-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestSecurity.java?rev=579427&r1=579426&r2=579427&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/web-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestSecurity.java
(original)
+++ geronimo/server/trunk/testsuite/web-testsuite/test-security/src/test/java/org/apache/geronimo/testsuite/security/TestSecurity.java
Tue Sep 25 19:05:01 2007
@@ -28,12 +28,12 @@
     @Test
     public void testSecurity() throws Exception {
         selenium.open("/demo/protect/hello.html");
-        selenium.type("j_username", "system");
-		selenium.type("j_password", "manager");
-		selenium.click("submit");
-		selenium.waitForPageToLoad("30000");
-		assertEquals("hello world.", selenium.getText("xpath=/html"));
+        selenium.type("j_username", "george");
+        selenium.type("j_password", "bone");
+        selenium.click("submit");
+        selenium.waitForPageToLoad("30000");
+        assertEquals("hello world.", selenium.getText("xpath=/html"));
     }
 
 
-}
\ No newline at end of file
+}



Mime
View raw message