Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 33111 invoked from network); 27 Oct 2005 23:35:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Oct 2005 23:35:37 -0000 Received: (qmail 56238 invoked by uid 500); 27 Oct 2005 23:35:36 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 56206 invoked by uid 500); 27 Oct 2005 23:35:36 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 56194 invoked by uid 99); 27 Oct 2005 23:35:35 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2005 16:35:35 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 27 Oct 2005 16:35:33 -0700 Received: (qmail 33002 invoked by uid 65534); 27 Oct 2005 23:35:15 -0000 Message-ID: <20051027233515.33001.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: akarasulu@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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" )); }