You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 10:21:39 UTC

[sling-org-apache-sling-testing-sling-mock] 03/13: SLING-4266 - SlingContext always uses the default resourceResolverType

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.1.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock.git

commit 2de8a968e489e7c886e431b5d813d30427fe2752
Author: Robert Munteanu <ro...@apache.org>
AuthorDate: Wed Dec 24 21:58:58 2014 +0000

    SLING-4266 - SlingContext always uses the default resourceResolverType
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock@1647850 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/testing/mock/sling/junit/SlingContext.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/testing/mock/sling/junit/SlingContext.java b/src/main/java/org/apache/sling/testing/mock/sling/junit/SlingContext.java
index 5e0b48c..117d9e8 100644
--- a/src/main/java/org/apache/sling/testing/mock/sling/junit/SlingContext.java
+++ b/src/main/java/org/apache/sling/testing/mock/sling/junit/SlingContext.java
@@ -104,7 +104,7 @@ public final class SlingContext extends SlingContextImpl implements TestRule {
         this.tearDownCallback = tearDownCallback;
 
         // set resource resolver type in parent context
-        setResourceResolverType(this.resourceResolverType);
+        setResourceResolverType(resourceResolverType);
 
         // wrap {@link ExternalResource} rule executes each test method once
         this.delegate = new ExternalResource() {

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