Commits

Anonymous committed b0ac2b8

Simplifying test configuration

Comments (0)

Files changed (2)

compchem-test-harness/src/test/java/net/chempound/compchem/CompChemIntegrationTest.java

     }
 
     protected ChempoundConfiguration initConfiguration() throws IOException {
-        return StubChempoundConfiguration.load(URI.create(REPO_URI), workspace);
+        return new StubChempoundConfiguration(URI.create(REPO_URI), workspace);
     }
 
     private void closeQuietly(Response response) {

compchem-test-harness/src/test/java/net/chempound/compchem/CompChemSearchIntegrationTest.java

     }
 
     protected static ChempoundConfiguration initConfiguration() throws IOException {
-        URI uri = URI.create("http://localhost:8716/");
-        return StubChempoundConfiguration.load(uri, workspace);
+        final URI uri = URI.create("http://localhost:8716/");
+        return new StubChempoundConfiguration(uri, workspace);
     }
 
     private static void closeQuietly(Response response) {