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 95e1ad157b7b15e85fe44ff34a1751b5f758ab71 Author: Bertrand Delacretaz <[email protected]> AuthorDate: Tue Sep 4 14:27:57 2018 +0200 Use classpath: to read files --- .../src/test/java/sling/postservlet/createcontent/createContent.feature | 2 +- .../src/test/java/sling/postservlet/createcontent/importContent.feature | 2 +- 2 files 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 5ba7867..cc5a588 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 @@ -9,7 +9,7 @@ Background: * url baseURL # Use admin credentials for all requests -* configure headers = call read('../../util/basic-auth-header.js') { username: 'admin', password: 'admin' } +* 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 diff --git a/karate-http-testing/src/test/java/sling/postservlet/createcontent/importContent.feature b/karate-http-testing/src/test/java/sling/postservlet/createcontent/importContent.feature index b773b4a..90e8528 100644 --- a/karate-http-testing/src/test/java/sling/postservlet/createcontent/importContent.feature +++ b/karate-http-testing/src/test/java/sling/postservlet/createcontent/importContent.feature @@ -6,7 +6,7 @@ Background: * url baseURL # Use admin credentials for all requests -* configure headers = call read('../..//util/basic-auth-header.js') { username: 'admin', password: 'admin' } +* configure headers = call read('classpath:sling/util/basic-auth-header.js') { username: 'admin', password: 'admin' } * def testID = '' + java.util.UUID.randomUUID() * def testFolderPath = 'importContentTest/' + testID
