From e433824f46514e6ed863eb6b95c70038331c8c24 Mon Sep 17 00:00:00 2001
From: Nicolas Capponi <nicolas.capponi@forgerock.com>
Date: Tue, 24 Nov 2015 12:49:54 +0000
Subject: [PATCH] OPENDJ-2260 OPENDJ-2271 Integration of common audit into the server
---
opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LdapTestCase.java | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LdapTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LdapTestCase.java
index ca16b5b..bf328a0 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LdapTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LdapTestCase.java
@@ -26,6 +26,8 @@
*/
package org.opends.server.protocols.ldap ;
+import static org.mockito.Mockito.mock;
+
import static org.opends.server.config.ConfigConstants.*;
import java.util.Iterator;
@@ -36,6 +38,7 @@
import org.opends.server.admin.server.AdminTestCaseUtils;
import org.opends.server.admin.std.meta.LDAPConnectionHandlerCfgDefn;
import org.opends.server.admin.std.server.LDAPConnectionHandlerCfg;
+import org.opends.server.core.ServerContext;
import org.forgerock.opendj.config.server.ConfigException;
import org.opends.server.types.Attribute;
import org.opends.server.types.Attributes;
@@ -112,7 +115,7 @@
handlerEntry.addAttribute(a, null);
LDAPConnectionHandlerCfg config = getConfiguration(handlerEntry);
LDAPConnectionHandler handler = new LDAPConnectionHandler();
- handler.initializeConnectionHandler(config);
+ handler.initializeConnectionHandler(mock(ServerContext.class), config);
return handler;
}
--
Gitblit v1.10.0