directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject [directory-ldap-api] branch master updated: Fixed a failing tests after a fix in the code
Date Thu, 25 Jan 2018 22:39:35 GMT
This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-ldap-api.git


The following commit(s) were added to refs/heads/master by this push:
     new f779891  Fixed a failing tests after a fix in the code
f779891 is described below

commit f7798915af958341611d4896f1a3d32c1649274f
Author: Emmanuel L├ęcharny <elecharny@symas.com>
AuthorDate: Thu Jan 25 23:39:17 2018 +0100

    Fixed a failing tests after a fix in the code
---
 .../org/apache/directory/ldap/client/api/LdifAnonymizerTest.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/LdifAnonymizerTest.java
b/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/LdifAnonymizerTest.java
index dd48158..4042c9c 100644
--- a/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/LdifAnonymizerTest.java
+++ b/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/LdifAnonymizerTest.java
@@ -136,7 +136,7 @@ public class LdifAnonymizerTest
         assertEquals( "AAAA", cn.getString() );
 
         Attribute sn = entry.get( "sn" );
-        assertEquals( "AAAA", sn.getString() );
+        assertEquals( "Test", sn.getString() );
         
         // Second entry
         ldifEntry = entries.get( 1 );
@@ -151,7 +151,7 @@ public class LdifAnonymizerTest
         assertEquals( "AAAAAAAA", cn.getString() );
 
         sn = entry.get( "sn" );
-        assertEquals( "AAAAAAAAA", sn.getString() );
+        assertEquals( "lecharnye", sn.getString() );
         
         // Third entry
         ldifEntry = entries.get( 2 );
@@ -166,7 +166,7 @@ public class LdifAnonymizerTest
         assertEquals( "AAAAAAAA", cn.getString() );
 
         sn = entry.get( "sn" );
-        assertEquals( "AAAAAAAAB", sn.getString() );
+        assertEquals( "elecharny", sn.getString() );
 
         Attribute seeAlso = entry.get( "seeAlso" );
         assertEquals( "cn=AAAAAAAA,dc=acme,dc=com", seeAlso.getString() );

-- 
To stop receiving notification emails like this one, please contact
elecharny@apache.org.

Mime
View raw message