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 2021/05/07 11:07:22 UTC

[sling-whiteboard] branch master updated: Adapt for sling starter as of today

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


The following commit(s) were added to refs/heads/master by this push:
     new 25ee7dd  Adapt for sling starter as of today
25ee7dd is described below

commit 25ee7dd3ec09c53ebc9c48913bacb54f04938bf4
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri May 7 13:07:11 2021 +0200

    Adapt for sling starter as of today
---
 .../src/test/java/sling/filestorage/uploadImage.feature               | 4 ++--
 karate-http-testing/src/test/java/sling/setup/initialContent.feature  | 4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/karate-http-testing/src/test/java/sling/filestorage/uploadImage.feature b/karate-http-testing/src/test/java/sling/filestorage/uploadImage.feature
index 20a7ca7..f8ae90b 100644
--- a/karate-http-testing/src/test/java/sling/filestorage/uploadImage.feature
+++ b/karate-http-testing/src/test/java/sling/filestorage/uploadImage.feature
@@ -39,9 +39,9 @@ Then status 201
 {
   "jcr:primaryType" : "nt:resource",
   "jcr:mimeType" : "application/octet-stream",
-  "jcr:lastModifiedBy" : #string,
+  "jcr:lastModifiedBy" : "admin",
   "jcr:lastModified" : #string,
-  ":jcr:data" : "10102",
+  ":jcr:data" : 10102,
   "jcr:uuid" : #uuid
 }
 """
diff --git a/karate-http-testing/src/test/java/sling/setup/initialContent.feature b/karate-http-testing/src/test/java/sling/setup/initialContent.feature
index 4fca13b..9d50d8a 100644
--- a/karate-http-testing/src/test/java/sling/setup/initialContent.feature
+++ b/karate-http-testing/src/test/java/sling/setup/initialContent.feature
@@ -30,12 +30,10 @@ Examples:
 
   # Sling starter content
   | home/users | jcr:primaryType | rep:AuthorizableFolder |
-  | sling.css | jcr:createdBy | admin |
   | htl/repl| sling:resourceType | repl/components/repl |
 
   # OSGi console
   | system/console/bundles | data[0].symbolicName | org.apache.felix.framework |
 
   # Empty path means root
-  | | sling:target | /index.html |
-  | | sling:resourceType | sling:redirect |
\ No newline at end of file
+  | | jcr:primaryType | rep:root |
\ No newline at end of file