Author: akarasulu Date: Sat Nov 5 00:20:24 2005 New Revision: 330983 URL: http://svn.apache.org/viewcvs?rev=330983&view=rev Log: fixed bug in test case introduced from changing admin password to string Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/authn/SimpleAuthenticationTest.java Modified: directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/authn/SimpleAuthenticationTest.java URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/authn/SimpleAuthenticationTest.java?rev=330983&r1=330982&r2=330983&view=diff ============================================================================== --- directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/authn/SimpleAuthenticationTest.java (original) +++ directory/apacheds/trunk/core-unit/src/test/java/org/apache/ldap/server/authn/SimpleAuthenticationTest.java Sat Nov 5 00:20:24 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" )); + assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret".getBytes() )); } @@ -134,7 +134,7 @@ Attributes attrs = ctx.getAttributes( "" ); performAdminAccountChecks( attrs ); - assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret" )); + assertTrue( ArrayUtils.isEquals( attrs.get( "userPassword" ).get(), "secret".getBytes() )); }