Skip to content

Commit

Permalink
Fix NPE in ServerOverlayConfigurationTest
Browse files Browse the repository at this point in the history
  • Loading branch information
tristantarrant committed Sep 14, 2021
1 parent cadb5b0 commit db1bf22
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -23,6 +23,7 @@ public class ServerOverlayConfigurationTest {
public void testOverlay() {
Properties properties = new Properties();
properties.put(Server.INFINISPAN_SERVER_CONFIG_PATH, getConfigPath().toString());
properties.put(Server.INFINISPAN_SERVER_HOME_PATH, getConfigPath().toString());
Server server = new Server(getConfigPath().toFile(), Arrays.asList(Paths.get("Base.xml"), Paths.get("Overlay.yml")), properties);
ConfigurationBuilderHolder holder = server.getConfigurationBuilderHolder();
assertTrue(holder.getNamedConfigurationBuilders().containsKey("overlay"));
Expand Down

0 comments on commit db1bf22

Please sign in to comment.