incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1528842 - /sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/userManager/AbstractUserManagerTest.java
Date Thu, 03 Oct 2013 13:17:56 GMT
Author: bdelacretaz
Date: Thu Oct  3 13:17:56 2013
New Revision: 1528842

URL: http://svn.apache.org/r1528842
Log:
SLING-2788 - add more info on failure

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

Modified: sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/userManager/AbstractUserManagerTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/userManager/AbstractUserManagerTest.java?rev=1528842&r1=1528841&r2=1528842&view=diff
==============================================================================
--- sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/userManager/AbstractUserManagerTest.java
(original)
+++ sling/trunk/launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/userManager/AbstractUserManagerTest.java
Thu Oct  3 13:17:56 2013
@@ -44,7 +44,8 @@ public abstract class AbstractUserManage
 		postParams.add(new NameValuePair(":member", testUserId));
 		
 		Credentials creds = new UsernamePasswordCredentials("admin", "admin");
-		assertAuthenticatedPostStatus(creds, postUrl, HttpServletResponse.SC_OK, postParams, null);
+		final String info = "Adding user " + testUserId + " to group via " + postUrl;
+		assertAuthenticatedPostStatus(creds, postUrl, HttpServletResponse.SC_OK, postParams, info);
 	}
 
 	/**
@@ -59,7 +60,8 @@ public abstract class AbstractUserManage
 		postParams.add(new NameValuePair(":member@Delete", testUserId));
 		
 		Credentials creds = new UsernamePasswordCredentials("admin", "admin");
-		assertAuthenticatedPostStatus(creds, postUrl, HttpServletResponse.SC_OK, postParams, null);
+        final String info = "Removing user " + testUserId + " from group via " + postUrl;
+		assertAuthenticatedPostStatus(creds, postUrl, HttpServletResponse.SC_OK, postParams, info);
 	}
 
 	/**



Mime
View raw message