From b7360a803d49769da00328ec89b2f089bf907e43 Mon Sep 17 00:00:00 2001 From: Kazuki Shimizu Date: Thu, 12 Nov 2015 03:12:55 +0900 Subject: [PATCH] SEC-3152: Add @Retention to @WithMock documentation --- docs/manual/src/docs/asciidoc/_includes/test.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/manual/src/docs/asciidoc/_includes/test.adoc b/docs/manual/src/docs/asciidoc/_includes/test.adoc index e44df9478c..45857070c2 100644 --- a/docs/manual/src/docs/asciidoc/_includes/test.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/test.adoc @@ -219,6 +219,7 @@ For example, we might create an annotation named `@WithMockCustomUser` as shown [source,java] ---- +@Retention(RetentionPolicy.RUNTIME) @WithSecurityContext(factory = WithMockCustomUserSecurityContextFactory.class) public @interface WithMockCustomUser {