Skip to content
Prev Previous commit
Next Next commit
Remove double slashes before faces
In some situations, the base will end without an ending slash, but in other cases it will end with a slash, so the replace should take care of issues with double slashes.
  • Loading branch information
rbrinkster committed Jun 22, 2015
commit 8705ff623d900327bf9756a7607c4f6adc600376
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static WebArchive createDeployment() {
@Before
public void setup() throws IOException {
webClient = new WebClient();
page = webClient.getPage(base + "/faces/index.xhtml");
page = webClient.getPage((base + "/faces/index.xhtml").replace("//faces", "/faces"));
}

@Test
Expand Down