Browse Source

Merge pull request #23437 from wyhasany

* pr/23437:
  Fix typo

Closes gh-23437
pull/23837/head
Stephane Nicoll 5 years ago
parent
commit
122e2ca2ac
  1. 2
      src/docs/asciidoc/testing.adoc

2
src/docs/asciidoc/testing.adoc

@ -1273,7 +1273,7 @@ and `@ContextConfiguration` for further details. @@ -1273,7 +1273,7 @@ and `@ContextConfiguration` for further details.
`@WebAppConfiguration` from the Spring TestContext Framework. You can use it at the class
level as a drop-in replacement for `@ContextConfiguration` and `@WebAppConfiguration`.
With regard to configuration options, the only difference between `@ContextConfiguration`
and `@SpringJUnitWebConfig` is that you can declare annotated classes bu using the
and `@SpringJUnitWebConfig` is that you can declare annotated classes by using the
`value` attribute in `@SpringJUnitWebConfig`. In addition, you can override the `value`
attribute from `@WebAppConfiguration` only by using the `resourcePath` attribute in
`@SpringJUnitWebConfig`.

Loading…
Cancel
Save