Skip to content

Commit

Permalink
Merge pull request #19421 from edeandrea/patch-2
Browse files Browse the repository at this point in the history
Doc edit: config-mapping mocking docs need @InjectMock
  • Loading branch information
radcortez authored Sep 8, 2021
2 parents 3c1bb66 + 34b461f commit bd293c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/config-mappings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd293c9

Please sign in to comment.