Browse Source

Merge pull request #40951 from mateusscheper

* pr/40951:
  Fix typo in Dev Services reference docs

Closes gh-40951
pull/41000/head
Scott Frederick 2 years ago
parent
commit
0be290d6f7
  1. 2
      spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testcontainers.adoc

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

@ -71,7 +71,7 @@ For example, the following `MyContainers` interface declares `mongo` and `neo4j` @@ -71,7 +71,7 @@ For example, the following `MyContainers` interface declares `mongo` and `neo4j`
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:
include::code:MyContainersConfiguration[]

Loading…
Cancel
Save