|
|
|
|
|
|
|
12/5/2014 3:41:55 AM
to be a conflict between the following:
1) New MVC namespace syntax:
<mvc:content-negotiation use-not-acceptable="true"> <mvc:default-views> <bean class="org.springframework.web.servlet.view.JstlView"> <property name="url" value="" /> </bean> </mvc:default-views> </mvc:content-negotiation>
2) Inside my Unit test:
ResultActions actions =
this.mockMvc.perform(get("/vets.xml").accept(MediaType.TEXT_XML)); actions.andDo(print()); // action is logged into the console actions.andExpect(status().isOk());
|
|
11/28/2014 2:54:31 AM
but it never happened
|