This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag 
org.apache.sling.junit.healthcheck-1.0.4
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-healthcheck.git

commit cc478605066164a4c0a747691b8319137b6db812
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Tue Jun 21 09:29:23 2011 +0000

    SLING-2091 - add missing credentials to testing tools in several places. 
Patch contributed by Mark Adamcin, thanks!
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/testing/junit/remote@1137918 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/junit/remote/httpclient/RemoteTestHttpClient.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/src/main/java/org/apache/sling/junit/remote/httpclient/RemoteTestHttpClient.java
 
b/src/main/java/org/apache/sling/junit/remote/httpclient/RemoteTestHttpClient.java
index 793a19e..d23c851 100644
--- 
a/src/main/java/org/apache/sling/junit/remote/httpclient/RemoteTestHttpClient.java
+++ 
b/src/main/java/org/apache/sling/junit/remote/httpclient/RemoteTestHttpClient.java
@@ -25,6 +25,7 @@ import org.apache.sling.testing.tools.http.Request;
 import org.apache.sling.testing.tools.http.RequestBuilder;
 import org.apache.sling.testing.tools.http.RequestCustomizer;
 import org.apache.sling.testing.tools.http.RequestExecutor;
+import org.apache.sling.testing.tools.sling.SlingTestBase;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -90,6 +91,7 @@ public class RemoteTestHttpClient {
                 subpath, junitServletUrl);
         final Request r = builder
         .buildPostRequest(subpath.toString())
+        .withCredentials(SlingTestBase.ADMIN, SlingTestBase.ADMIN)
         .withCustomizer(requestCustomizer);
         executor.execute(r).assertStatus(200);
 

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to