Преглед на файлове

Improve ContextConfiguration Docs

Point to updated Spring Reference

Issue gh-10934
Josh Cummings преди 3 години
родител
ревизия
ff0b1712b6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      docs/modules/ROOT/pages/servlet/test/method.adoc

+ 1 - 1
docs/modules/ROOT/pages/servlet/test/method.adoc

@@ -68,7 +68,7 @@ class WithMockUserTests {
 }
 ----
 <1> `@ExtendWith` instructs the spring-test module that it should create an `ApplicationContext`. For additional information, refer to the {spring-framework-reference-url}testing.html#testcontext-junit-jupiter-extension[Spring reference].
-<2> `@ContextConfiguration` instructs the spring-test the configuration to use to create the `ApplicationContext`. Since no configuration is specified, the default configuration locations will be tried. This is no different than using the existing Spring Test support. For additional information, refer to the https://docs.spring.io/spring-framework/docs/4.0.x/spring-framework-reference/htmlsingle/#testcontext-ctx-management[Spring Reference]
+<2> `@ContextConfiguration` instructs the spring-test the configuration to use to create the `ApplicationContext`. Since no configuration is specified, the default configuration locations will be tried. This is no different than using the existing Spring Test support. For additional information, refer to the {spring-framework-reference-url}testing.html#spring-testing-annotation-contextconfiguration
 ====
 
 [NOTE]