Ard Schrijvers pushed to branch feature/REPO-1811 at cms-community / 
hippo-repository


Commits:
1dba0d49 by Ard Schrijvers at 2017-09-13T14:44:56+02:00
REPO-1811 Fix the LockClusterTest setup

(still ignored but the setup failed since we do not allow SNS
below jcr:root any more)

- - - - -


1 changed file:

- test/src/test/java/org/onehippo/repository/locking/LockClusterTest.java


Changes:

=====================================
test/src/test/java/org/onehippo/repository/locking/LockClusterTest.java
=====================================
--- a/test/src/test/java/org/onehippo/repository/locking/LockClusterTest.java
+++ b/test/src/test/java/org/onehippo/repository/locking/LockClusterTest.java
@@ -36,8 +36,7 @@ public class LockClusterTest extends ClusterTest {
     @Override
     public void setUp() throws Exception {
         super.setUp();
-        final Node test = session1.getRootNode().addNode("test");
-        session1.getRootNode().addNode("test");
+        final Node test = session1.getRootNode().getNode("test");
         test.addMixin(JcrConstants.MIX_LOCKABLE);
         session1.save();
     }



View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-repository/commit/1dba0d49778da55568fcafee6ddff4fdc6563190

---
View it on GitLab: 
https://code.onehippo.org/cms-community/hippo-repository/commit/1dba0d49778da55568fcafee6ddff4fdc6563190
You're receiving this email because of your account on code.onehippo.org.
_______________________________________________
Hippocms-svn mailing list
Hippocms-svn@lists.onehippo.org
https://lists.onehippo.org/mailman/listinfo/hippocms-svn

Reply via email to