mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noël Rouvignac
17.32.2016 cad7abf78a831586b43f185d4abd5f30265a3058
opendj-server-legacy/src/test/java/org/opends/server/ServerContextBuilder.java
@@ -81,8 +81,7 @@
  public ServerContextBuilder withConfigurationBootstrapped()
      throws InitializationException
  {
    final ConfigurationHandler configHandler =
        ConfigurationHandler.bootstrapConfiguration(serverContext, ConfigurationHandler.class);
    final ConfigurationHandler configHandler = ConfigurationHandler.bootstrapConfiguration(serverContext);
    final ServerManagementContext serverManagementContext = new ServerManagementContext(configHandler);
    when(serverContext.getServerManagementContext()).thenReturn(serverManagementContext);
    return this;