sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject [sling-org-apache-sling-launchpad-integration-tests] branch master updated: SLING-7637 - proper fix, run the test under /content where anonymous access is allowed
Date Thu, 03 May 2018 13:37:22 GMT
This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-launchpad-integration-tests.git


The following commit(s) were added to refs/heads/master by this push:
     new 2289fff  SLING-7637 - proper fix, run the test under /content where anonymous access
is allowed
2289fff is described below

commit 2289fff63737f72e5234168e173fb8457cfb82ac
Author: Bertrand Delacretaz <bdelacretaz@apache.org>
AuthorDate: Thu May 3 15:37:12 2018 +0200

    SLING-7637 - proper fix, run the test under /content where anonymous access is allowed
---
 .../sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java
b/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java
index 925026c..9bb238c 100644
--- a/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java
+++ b/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/PropertyRenderingTest.java
@@ -52,7 +52,7 @@ public class PropertyRenderingTest extends RenderingTestBase {
         slingResourceType = getClass().getName();
 
         // create the test node, under a path that's specific to this class to allow collisions
-        final String url = HTTP_BASE_URL + "/" + getClass().getSimpleName() + "/" + System.currentTimeMillis()
+ SlingPostConstants.DEFAULT_CREATE_SUFFIX;
+        final String url = HTTP_BASE_URL + "/content/" + getClass().getSimpleName() + "/"
+ System.currentTimeMillis() + SlingPostConstants.DEFAULT_CREATE_SUFFIX;
 
         NameValuePairList list = new NameValuePairList();
         list.add("sling:resourceType", slingResourceType);
@@ -110,7 +110,7 @@ public class PropertyRenderingTest extends RenderingTestBase {
 
     public void testMultiValuedTextNoExt() throws IOException {
         // multi-valued properties can't be adapted to a stream, so this returns an error
-        assertHttpStatus(displayUrl + "/multiText/", 403);
+        assertHttpStatus(displayUrl + "/multiText", 403);
     }
 
     public void testResourceTypeNoExt() throws IOException {

-- 
To stop receiving notification emails like this one, please contact
bdelacretaz@apache.org.

Mime
View raw message