From d89c47e7cb1b3c9181e25582539aac1dedb46099 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/ReplicationTestCase.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/replication/ReplicationTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/replication/ReplicationTestCase.java
index e1f6f10..286ac92 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/replication/ReplicationTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/replication/ReplicationTestCase.java
@@ -524,7 +524,7 @@
{
final Entry newEntry = DirectoryServer.getEntry(dn);
assertNotNull(newEntry);
- List<Attribute> attrList = newEntry.getAttribute(attrTypeStr);
+ List<Attribute> attrList = newEntry.getAllAttributes(attrTypeStr);
Assertions.assertThat(attrList).isNotEmpty();
Attribute attr = attrList.get(0);
boolean foundAttributeValue = attr.contains(ByteString.valueOfUtf8(valueString));
@@ -781,7 +781,7 @@
{
Entry newEntry = DirectoryServer.getEntry(dn);
assertNotNull(newEntry);
- Attribute attribute = newEntry.getAttribute("entryuuid").get(0);
+ Attribute attribute = newEntry.getAllAttributes("entryuuid").get(0);
String found = attribute.iterator().next().toString();
assertNotNull(found, "Entry: " + dn + " Could not be found.");
return found;
--
Gitblit v1.10.0