From 97050c54efee9d0cc89afb5fb61b9a1c67f73f6a Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Wed, 16 Nov 2016 19:28:22 +0000
Subject: [PATCH] OPENDJ-3460 Improve management of subordinate backend and naming contexts
---
opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java
index a4d80d8..e63773e 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java
@@ -440,7 +440,7 @@
}
exportConfig = new LDIFExportConfig(ldif.getAbsolutePath(),
ExistingFileBehavior.OVERWRITE);
- backend = TestCaseUtils.getServerContext().getBackendConfigManager().getLocalBackend("test");
+ backend = TestCaseUtils.getServerContext().getBackendConfigManager().getLocalBackendById("test");
backend.exportLDIF(exportConfig);
}
@@ -454,7 +454,7 @@
{
importConfig = new LDIFImportConfig(ldif.getAbsolutePath());
TestCaseUtils.initializeTestBackend(false);
- backend = TestCaseUtils.getServerContext().getBackendConfigManager().getLocalBackend("test");
+ backend = TestCaseUtils.getServerContext().getBackendConfigManager().getLocalBackendById("test");
backend.importLDIF(importConfig, DirectoryServer.getInstance().getServerContext());
}
}
--
Gitblit v1.10.0