Commits

Sam Adams  committed 8ff4a47

Refactoring configuration / property loading

  • Participants
  • Parent commits c2ae50a

Comments (0)

Files changed (1)

File acceptance-test-driver/src/main/java/net/chempound/acceptance/dsl/ChempoundTestModule.java

 import net.chempound.ChempoundConfigurationModule;
 import net.chempound.DefaultChempoundModule;
 import net.chempound.compchem.CompChemModule;
-import net.chempound.config.DefaultChempoundConfiguration;
+import net.chempound.config.DefaultPropertySource;
+import net.chempound.config.StubChempoundConfiguration;
 import net.chempound.datastore.InMemoryJenaTripleStore;
 import net.chempound.datastore.TripleStore;
 import net.chempound.storage.InMemoryResourceStore;
 
     @Override
     protected void configure() {
-        install(new ChempoundConfigurationModule(new DefaultChempoundConfiguration(rootUri, workspace)));
+        install(new ChempoundConfigurationModule(new StubChempoundConfiguration(rootUri, workspace), new DefaultPropertySource()));
         install(new DefaultChempoundModule());
         install(new CompChemModule());
         super.configure();