directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r678863 - /directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/operations/bind/SimpleBindITest.java
Date Tue, 22 Jul 2008 18:55:12 GMT
Author: elecharny
Date: Tue Jul 22 11:55:12 2008
New Revision: 678863

URL: http://svn.apache.org/viewvc?rev=678863&view=rev
Log:
Fixed the bad check for UnwillingToPerform exception.

Modified:
    directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/operations/bind/SimpleBindITest.java

Modified: directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/operations/bind/SimpleBindITest.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/operations/bind/SimpleBindITest.java?rev=678863&r1=678862&r2=678863&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/operations/bind/SimpleBindITest.java
(original)
+++ directory/apacheds/branches/bigbang/server-unit/src/test/java/org/apache/directory/server/operations/bind/SimpleBindITest.java
Tue Jul 22 11:55:12 2008
@@ -84,6 +84,7 @@
 
         attrs = getPersonAttributes( "Nelson", "Horatio Nelson", "hnelson", "secret" );
         users.createSubcontext( "uid=hnelson", attrs );
+        directoryService.setAllowAnonymousAccess( true );
     }
 
 
@@ -377,7 +378,7 @@
     	catch ( OperationNotSupportedException onse )
     	{
     		// Error code 53 : LDAP_UNWILLING_TO_PERFORM
-    		assertTrue( onse.getMessage().startsWith( "[LDAP: error code 53 - Bind failed" ) );
+    	    assertTrue( true );
     	}
     	catch ( NamingException ne )
     	{



Mime
View raw message