directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r328978 - /directory/apacheds/trunk/core/src/test/org/apache/ldap/server/authn/SimpleAuthenticationTest.java
Date Thu, 27 Oct 2005 23:35:14 GMT
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" ));
     }
 
 



Mime
View raw message