You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2018/09/04 13:45:28 UTC

[sling-whiteboard] 02/03: Cleanup paths

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-whiteboard.git

commit 8da32ec1c43b22786a87d2b88559bdc5c74e6f1b
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Tue Sep 4 15:44:41 2018 +0200

    Cleanup paths
---
 .../test/java/sling/postservlet/createcontent/createContent.feature   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/karate-http-testing/src/test/java/sling/postservlet/createcontent/createContent.feature b/karate-http-testing/src/test/java/sling/postservlet/createcontent/createContent.feature
index cc5a588..d5164b0 100644
--- a/karate-http-testing/src/test/java/sling/postservlet/createcontent/createContent.feature
+++ b/karate-http-testing/src/test/java/sling/postservlet/createcontent/createContent.feature
@@ -12,7 +12,7 @@ Background:
 * configure headers = call read('classpath:sling/util/basic-auth-header.js') { username: 'admin', password: 'admin' }
 
 * def testID = '' + java.util.UUID.randomUUID()
-* def testFolderPath = '/createContentTest' + testID
+* def testFolderPath = '/createContentTest/' + testID
 
 # ------------------------------------------------------------------------
 Scenario: Check access to the Sling instance under test
@@ -26,7 +26,7 @@ Scenario: Create a resource, update, read back, delete
 # ------------------------------------------------------------------------
 
 # Create a resource
-Given path testFolderPath + '/*'
+Given path testFolderPath, '*'
 And form field f1 = 'v1A' + testID
 And form field f2 = 'v2A'
 When method POST