You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/03/21 17:17:32 UTC

svn commit: r1303458 - /directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java

Author: elecharny
Date: Wed Mar 21 16:17:31 2012
New Revision: 1303458

URL: http://svn.apache.org/viewvc?rev=1303458&view=rev
Log:
Modified the test to start from a baseDn instead of the rootDSE

Modified:
    directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java

Modified: directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java?rev=1303458&r1=1303457&r2=1303458&view=diff
==============================================================================
--- directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java (original)
+++ directory/apacheds/trunk/core-integ/src/test/java/org/apache/directory/server/core/operations/search/SearchWithIndicesIT.java Wed Mar 21 16:17:31 2012
@@ -241,7 +241,7 @@ public class SearchWithIndicesIT extends
         connection.add( entry );
         
         // Check that we can find it back
-        EntryCursor cursor = connection.search( "", "(description=*)", SearchScope.SUBTREE, "*" );
+        EntryCursor cursor = connection.search( "ou=system", "(description=*)", SearchScope.SUBTREE, "*" );
 
         while ( cursor.next() )
         {
@@ -253,7 +253,7 @@ public class SearchWithIndicesIT extends
             new DefaultModification( ModificationOperation.REPLACE_ATTRIBUTE, "description" ) );
         
         // Check that we can find it back
-        cursor = connection.search( "", "(description=*)", SearchScope.SUBTREE, "*" );
+        cursor = connection.search( "ou=system", "(description=*)", SearchScope.SUBTREE, "*" );
 
         while ( cursor.next() )
         {