1. Chempound
  2. Untitled project
  3. chempound-client

Commits

Sam Adams  committed 778a298

Fix ChempoundClientCLIIntegrationTest

  • Participants
  • Parent commits a3d4ff6
  • Branches default

Comments (0)

Files changed (1)

File src/test/java/net/chempound/client/cli/ChempoundClientCLIIntegrationTest.java

View file
  • Ignore whitespace
 import net.chempound.ChempoundConfigurationModule;
 import net.chempound.DefaultChempoundModule;
 import net.chempound.config.ChempoundConfiguration;
-import net.chempound.config.DefaultChempoundConfiguration;
+import net.chempound.config.DefaultPropertySource;
+import net.chempound.config.StubChempoundConfiguration;
 import net.chempound.datastore.TripleStore;
 import net.chempound.rdf.ORE;
 import net.chempound.webapp.DefaultChempoundWebModule;
         final URI baseUri = URI.create("http://localhost:12080/repo/");
         workspace = new File("target", UUID.randomUUID().toString());
 
-        final ChempoundConfiguration configuration = new DefaultChempoundConfiguration(baseUri, workspace);
+        final ChempoundConfiguration configuration = new StubChempoundConfiguration(baseUri, workspace);
         final Injector injector = Guice.createInjector(Stage.DEVELOPMENT,
                 new DefaultChempoundModule(),
                 new DefaultChempoundWebModule(),
-                new ChempoundConfigurationModule(configuration)
+                new ChempoundConfigurationModule(configuration, new DefaultPropertySource())
         );
 
         component = injector.getInstance(Component.class);