SEC-3152: Add @Retention to @WithMock documentation
This commit is contained in:
parent
5c36c9f659
commit
b7360a803d
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in New Issue