Fix typo in 3.2 migration guide

- @WebApplicationContext --> @WebAppConfiguration
master
Sam Brannen 12 years ago
parent 3d3469c015
commit 62e9d6b105
  1. 4
      src/reference/docbook/migration-3.2.xml

@ -124,10 +124,10 @@
<para>You will no longer be able to use the <para>You will no longer be able to use the
<classname>MockMvcBuilders</classname> <code>annotationConfigSetup</code> <classname>MockMvcBuilders</classname> <code>annotationConfigSetup</code>
and <code>xmlConfigSetup</code> options. Instead you'll need to switch and <code>xmlConfigSetup</code> options. Instead you'll need to switch
to using the <interfacename>@WebApplicationContext</interfacename> support to using the <interfacename>@WebAppConfiguration</interfacename> support
of <filename>spring-test</filename> for loading Spring configuration, of <filename>spring-test</filename> for loading Spring configuration,
then inject a <interfacename>WebApplicationContext</interfacename> into then inject a <interfacename>WebApplicationContext</interfacename> into
the test and use it to create a <classname>MockMvc</classname>. the test and use it to create a <classname>MockMvc</classname>. See
<xref linkend="spring-mvc-test-framework" /> for details.</para> <xref linkend="spring-mvc-test-framework" /> for details.</para>
</section> </section>

Loading…
Cancel
Save