Просмотр исходного кода

SEC-3152: Add @Retention to @WithMock documentation

Kazuki Shimizu 9 лет назад
Родитель
Сommit
b7360a803d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      docs/manual/src/docs/asciidoc/_includes/test.adoc

+ 1 - 0
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 {