From 34b461ff56fcc72517a779e58bbfe69edf42ea07 Mon Sep 17 00:00:00 2001 From: Eric Deandrea Date: Mon, 16 Aug 2021 11:14:24 -0400 Subject: [PATCH] config-mapping mocking docs need @InjectMock In the mocking section it says that the `Server` can be injected as a mock into a Quarkus test class with `@InjectMock`, yet the following code snippet just shows `@Inject`. --- docs/src/main/asciidoc/config-mappings.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/config-mappings.adoc b/docs/src/main/asciidoc/config-mappings.adoc index 661d63ae496d4..3d44d00407352 100644 --- a/docs/src/main/asciidoc/config-mappings.adoc +++ b/docs/src/main/asciidoc/config-mappings.adoc @@ -450,7 +450,7 @@ The `Server` can be injected as a mock into a Quarkus test class with `@InjectMo ---- @QuarkusTest class ServerMockTest { - @Inject + @InjectMock Server server; @Test