Skip to content

Commit

Permalink
Fixing test port number
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrudin committed Nov 20, 2016
1 parent 9183b2b commit da4dd19
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class LoadModulesTest extends Assert {
private XccStaticChecker staticChecker;

private String host = "localhost";
private int port = 8123;
private int port = 8000;
private String username = "admin";
private String password = "admin";
private String database = "Modules";
Expand Down Expand Up @@ -76,6 +76,7 @@ public void staticCheckAndCheckLibraryModules() {
modulesLoader.loadModules(dir, new DefaultModulesFinder(), client);
fail("The load should have failed because of the bad library module");
} catch (RuntimeException ex) {
System.out.println(ex.getMessage());
assertTrue(ex.getMessage().contains("Static check failed for module at URI: /ext/bad-lib.xqy"));
assertTrue(ex.getMessage().contains("in /ext/bad-lib.xqy, on line 7"));
}
Expand Down

0 comments on commit da4dd19

Please sign in to comment.