SEC-3152: Add @Retention to @WithMock documentation
This commit is contained in:
committed by
Rob Winch
parent
dbf883ba98
commit
87247318f2
@@ -188,6 +188,7 @@ For example, we might create an annotation named `@WithMockCustomUser` as shown
|
||||
|
||||
[source,java]
|
||||
----
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@WithSecurityContext(factory = WithMockCustomUserSecurityContextFactory.class)
|
||||
public @interface WithMockCustomUser {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user