From 6c5ae329f3a340cec834e054a4dff0ef041fb7d9 Mon Sep 17 00:00:00 2001 From: Mateus Scheper Date: Wed, 29 May 2024 22:59:00 -0300 Subject: [PATCH] Fix typo in Dev Services reference docs See gh-40951 --- .../src/docs/asciidoc/features/testcontainers.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 826db3cb7e3..683d7b656d4 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 @@ -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[]