You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ss...@apache.org on 2022/09/01 12:59:58 UTC

[sling-org-apache-sling-testing-sling-mock-oak] branch master updated: make unit tests compatible with latest sling-mock

This is an automated email from the ASF dual-hosted git repository.

sseifert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-sling-mock-oak.git


The following commit(s) were added to refs/heads/master by this push:
     new 8ab2e08  make unit tests compatible with latest sling-mock
8ab2e08 is described below

commit 8ab2e08d1ffca7b09a96948b327f4d1e1ef323e9
Author: Stefan Seifert <st...@users.noreply.github.com>
AuthorDate: Thu Sep 1 14:59:49 2022 +0200

    make unit tests compatible with latest sling-mock
---
 pom.xml                                     | 8 +++++++-
 src/test/resources/test-content/parent.json | 6 ++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 45c68de..098d1fe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
     <properties>
         <oak.version>1.40.0</oak.version>
         <jackrabbit.version>2.20.2</jackrabbit.version>
-        <sling-mock.version>3.3.0</sling-mock.version>
+        <sling-mock.version>3.4.1-SNAPSHOT</sling-mock.version>
 
         <project.build.outputTimestamp>2021-12-07T10:09:46Z</project.build.outputTimestamp>
     </properties>
@@ -146,6 +146,12 @@
             <version>2.0.0</version>
             <scope>test</scope>
         </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.3_spec</artifactId>
+             <version>1.0</version>
+            <scope>test</scope>
+        </dependency>
 
     </dependencies>
 
diff --git a/src/test/resources/test-content/parent.json b/src/test/resources/test-content/parent.json
new file mode 100644
index 0000000..5b0881a
--- /dev/null
+++ b/src/test/resources/test-content/parent.json
@@ -0,0 +1,6 @@
+{
+    "jcr:primaryType": "nt:unstructured",
+    "child" : {
+        "jcr:primaryType": "nt:unstructured"
+    }
+}