mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Reinstate accidentally removed sentence
See gh-35629
This commit is contained in:
parent
9334840f18
commit
2776047438
@ -74,6 +74,7 @@ To do so, add the `@ImportTestcontainers` annotation to your test configuration
|
|||||||
include::code:MyContainersConfiguration[]
|
include::code:MyContainersConfiguration[]
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
You can also add `@DynamicPropertySource` annotated methods to your declaration class.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user