incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1528471 - /sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/AbstractAuthenticatedTest.java
Date Wed, 02 Oct 2013 13:39:29 GMT
Author: bdelacretaz
Date: Wed Oct  2 13:39:29 2013
New Revision: 1528471

URL: http://svn.apache.org/r1528471
Log:
SLING-2788 - explain what went wrong

Modified:
    sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/AbstractAuthenticatedTest.java

Modified: sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/AbstractAuthenticatedTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/AbstractAuthenticatedTest.java?rev=1528471&r1=1528470&r2=1528471&view=diff
==============================================================================
--- sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/AbstractAuthenticatedTest.java
(original)
+++ sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/AbstractAuthenticatedTest.java
Wed Oct  2 13:39:29 2013
@@ -227,7 +227,8 @@ public abstract class AbstractAuthentica
         postParams.add(new NameValuePair("pwd", "testPwd"));
         postParams.add(new NameValuePair("pwdConfirm", "testPwd"));
 		Credentials creds = new UsernamePasswordCredentials("admin", "admin");
-        assertAuthenticatedPostStatus(creds, postUrl, HttpServletResponse.SC_OK, postParams,
null);
+		final String msg = "Unexpected status while attempting to create test user at " + postUrl;

+        assertAuthenticatedPostStatus(creds, postUrl, HttpServletResponse.SC_OK, postParams,
msg);
 
         return testUserId;
     }



Mime
View raw message