From 27760474380c5369b4beeaae9bbfa4d3c0c43abb Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Mon, 13 Nov 2023 11:44:05 +0100 Subject: [PATCH] Reinstate accidentally removed sentence See gh-35629 --- .../src/docs/asciidoc/features/testcontainers.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc index fd73810968b..f7d806bc270 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc @@ -74,6 +74,7 @@ To do so, add the `@ImportTestcontainers` annotation to your test configuration include::code:MyContainersConfiguration[] TIP: If you don't intend to use the <> but want to use <> instead, remove the `@ServiceConnection` annotation from the `Container` fields. +You can also add `@DynamicPropertySource` annotated methods to your declaration class.