mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Fix typo in Dev Services reference docs
See gh-40951
This commit is contained in:
parent
211bf95f45
commit
6c5ae329f3
@ -71,7 +71,7 @@ For example, the following `MyContainers` interface declares `mongo` and `neo4j`
|
|||||||
|
|
||||||
include::code:MyContainers[]
|
include::code:MyContainers[]
|
||||||
|
|
||||||
If you already have containers defined in this way, or you just prefer this style, you can import these declaration classes rather than defining you containers as `@Bean` methods.
|
If you already have containers defined in this way, or you just prefer this style, you can import these declaration classes rather than defining your containers as `@Bean` methods.
|
||||||
To do so, add the `@ImportTestcontainers` annotation to your test configuration class:
|
To do so, add the `@ImportTestcontainers` annotation to your test configuration class:
|
||||||
|
|
||||||
include::code:MyContainersConfiguration[]
|
include::code:MyContainersConfiguration[]
|
||||||
|
Loading…
Reference in New Issue
Block a user