From a599a26d6fe93f9d3b41ba028af54d808eb31d24 Mon Sep 17 00:00:00 2001
From: Jean-Noël Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 08 Aug 2016 07:31:25 +0000
Subject: [PATCH] Partial OPENDJ-3106 Migrate Entry

---
 opendj-server-legacy/src/test/java/org/opends/server/replication/UpdateOperationTest.java |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/opendj-server-legacy/src/test/java/org/opends/server/replication/UpdateOperationTest.java b/opendj-server-legacy/src/test/java/org/opends/server/replication/UpdateOperationTest.java
index af219b0..1a770e7 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/replication/UpdateOperationTest.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/replication/UpdateOperationTest.java
@@ -350,8 +350,7 @@
   private AddMsg addMsg(CSNGenerator gen, Entry entry, String uniqueId, String parentId)
   {
     return new AddMsg(gen.newCSN(), entry.getName(), uniqueId, parentId,
-        entry.getObjectClassAttribute(), entry.getAttributes(),
-        new ArrayList<Attribute>());
+        entry.getObjectClassAttribute(), entry.getAllAttributes(), null);
   }
 
   /**
@@ -722,7 +721,7 @@
         user1entryUUID,
         baseUUID,
         personWithUUIDEntry.getObjectClassAttribute(),
-        personWithUUIDEntry.getAttributes(), new ArrayList<Attribute>());
+        personWithUUIDEntry.getAllAttributes(), null);
     updateMonitorCount(baseDN, resolvedMonitorAttr);
       alertCount = DummyAlertHandler.getAlertCount();
     broker.publish(addMsg);
@@ -870,7 +869,7 @@
         user1entryUUID,
         getEntryUUID(baseDN1),
         personWithUUIDEntry.getObjectClassAttribute(),
-        personWithUUIDEntry.getAttributes(), new ArrayList<Attribute>());
+        personWithUUIDEntry.getAllAttributes(), null);
 
     // - MODDN parent entry 1 to baseDn2 in the LDAP server
     ModifyDNRequest modifyDNRequest = newModifyDNRequest(baseDN1.toString(), "ou=baseDn2")

--
Gitblit v1.10.0