parent
4ab896ad37
commit
fc5ab5685b
|
|
@ -83,7 +83,7 @@ public class SampleHypermediaJpaApplicationIntegrationTests {
|
|||
public void browser() throws Exception {
|
||||
MvcResult response = this.mockMvc.perform(get("/").accept(MediaType.TEXT_HTML))
|
||||
.andExpect(status().isFound()).andReturn();
|
||||
assertEquals("/browser/index.html#",
|
||||
assertEquals("http://localhost/browser/index.html#/",
|
||||
response.getResponse().getHeaders("location").get(0));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue