Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dgageot committed Dec 3, 2014
1 parent 4d6feb8 commit 246b668
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test/java/gageot/net/MainWebTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ public void create(String message) {
}
};

WebServer webServer = new WebServer().configure(
override(new MainWeb.WebConfiguration())
.with(routes -> routes.setIocAdapter(new Singletons().register(Messages.class, messages))));
WebServer webServer = new WebServer()
.configure(override(new MainWeb.WebConfiguration())
.with(routes -> routes.setIocAdapter(new Singletons().register(Messages.class, messages))))
.startOnRandomPort();

@Override
protected String getDefaultBaseUrl() {
Expand Down

0 comments on commit 246b668

Please sign in to comment.