sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-testing-sling-mock] 06/12: SLING-5551 MockSlingHttpServletRequest: make sure given bundleContext is used
Date Tue, 07 Nov 2017 10:24:15 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.testing.sling-mock-1.7.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git

commit 780dae12084a8473ee8191cfe5c750c3bc54908e
Author: Stefan Seifert <sseifert@apache.org>
AuthorDate: Tue Feb 23 15:05:02 2016 +0000

    SLING-5551 MockSlingHttpServletRequest: make sure given bundleContext is used
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/branches/testing/mocks/sling-mock-1.x@1731881
13f79535-47bb-0310-9956-ffa450edef68
---
 .../sling/testing/mock/sling/servlet/MockSlingHttpServletRequest.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/testing/mock/sling/servlet/MockSlingHttpServletRequest.java
b/src/main/java/org/apache/sling/testing/mock/sling/servlet/MockSlingHttpServletRequest.java
index a404c44..a5afbe2 100644
--- a/src/main/java/org/apache/sling/testing/mock/sling/servlet/MockSlingHttpServletRequest.java
+++ b/src/main/java/org/apache/sling/testing/mock/sling/servlet/MockSlingHttpServletRequest.java
@@ -50,7 +50,7 @@ public class MockSlingHttpServletRequest extends org.apache.sling.servlethelpers
      * @param bundleContext Bundle context
      */
     public MockSlingHttpServletRequest(BundleContext bundleContext) {
-        this(MockSling.newResourceResolver(bundleContext));
+        this(MockSling.newResourceResolver(bundleContext), bundleContext);
     }
 
     /**

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message