Skip to content

Commit 18ad246

Browse files
committed
Merge branch '3.1.x'
2 parents 580d569 + 2776047 commit 18ad246

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ To do so, add the `@ImportTestcontainers` annotation to your test configuration
7777
include::code:MyContainersConfiguration[]
7878

7979
TIP: If you don't intend to use the <<features#features.testing.testcontainers.service-connections, service connections feature>> but want to use <<features#features.testing.testcontainers.dynamic-properties, `@DynamicPropertySource`>> instead, remove the `@ServiceConnection` annotation from the `Container` fields.
80+
You can also add `@DynamicPropertySource` annotated methods to your declaration class.
8081

8182

8283

0 commit comments

Comments
 (0)