jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r160694 - incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/WorkspaceCloneTest.java
Date Sat, 09 Apr 2005 16:35:22 GMT
Author: stefan
Date: Sat Apr  9 09:35:21 2005
New Revision: 160694

URL: http://svn.apache.org/viewcvs?view=rev&rev=160694
Log:
fixed incorrect test cases and fixed code that caused valid testcases to fail

Modified:
    incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/WorkspaceCloneTest.java

Modified: incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/WorkspaceCloneTest.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/WorkspaceCloneTest.java?view=diff&r1=160693&r2=160694
==============================================================================
--- incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/WorkspaceCloneTest.java
(original)
+++ incubator/jackrabbit/trunk/src/test/org/apache/jackrabbit/test/api/WorkspaceCloneTest.java
Sat Apr  9 09:35:21 2005
@@ -154,7 +154,7 @@
         String dstAbsPath = node2W2.getPath() + "/" + node1.getName();
 
         // get lock target node in destination wsp through other session
-        Node lockTarget = (Node) superuserW2.getItem(node2W2.getPath());
+        Node lockTarget = (Node) rwSessionW2.getItem(node2W2.getPath());
 
         // add mixin "lockable" to be able to lock the node
         if (!lockTarget.getPrimaryNodeType().isNodeType(mixLockable)) {



Mime
View raw message