You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2005/10/28 01:35:14 UTC

svn commit: r328978 - /directory/apacheds/trunk/core/src/test/org/apache/ldap/server/authn/SimpleAuthenticationTest.java

Author: akarasulu
Date: Thu Oct 27 16:34:57 2005
New Revision: 328978

URL: http://svn.apache.org/viewcvs?rev=328978&view=rev
Log:
fixing broken tests after admin password was changed to a string

Modified:
    directory/apacheds/trunk/core/src/test/org/apache/ldap/server/authn/SimpleAuthenticationTest.java

Modified: directory/apacheds/trunk/core/src/test/org/apache/ldap/server/authn/SimpleAuthenticationTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/test/org/apache/ldap/server/authn/SimpleAuthenticationTest.java?rev=328978&r1=328977&r2=328978&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/test/org/apache/ldap/server/authn/SimpleAuthenticationTest.java (original)
+++ directory/apacheds/trunk/core/src/test/org/apache/ldap/server/authn/SimpleAuthenticationTest.java Thu Oct 27 16:34:57 2005
@@ -119,7 +119,7 @@
         DirContext ctx = ( DirContext ) sysRoot.lookup( "uid=admin" );
         Attributes attrs = ctx.getAttributes( "" );
         performAdminAccountChecks( attrs );
-        assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret".getBytes() ));
+        assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret" ));
     }
 
 
@@ -134,7 +134,7 @@
         Attributes attrs = ctx.getAttributes( "" );
 
         performAdminAccountChecks( attrs );
-        assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret".getBytes() ));
+        assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret" ));
     }