Skip to content

Commit b4cab71

Browse files
committed
Fix broken doc links
Issue gh-8050
1 parent 85b0e46 commit b4cab71

File tree

1 file changed

+2
-2
lines changed
  • docs/manual/src/docs/asciidoc/_includes/servlet/test

1 file changed

+2
-2
lines changed

docs/manual/src/docs/asciidoc/_includes/servlet/test/mockmvc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ mvc.perform(get("/endpoint").with(oidcLogin()));
296296

297297
What this will do is create a mock `OidcUser`, passing it correctly through any authentication APIs so that it's available for your controllers and so on.
298298
It contains a mock `OidcUserInfo`, a mock `OidcIdToken`, and a mock `Collection` of granted authorities.
299-
Also, <<a mock `OAuth2AuthorizedClient`,testing-oauth2-client>> associated with the user is registered to an `HttpSessionOAuth2AuthorizedClientRepository`.
299+
Also, <<testing-oauth2-client,a mock `OAuth2AuthorizedClient`>> associated with the user is registered to an `HttpSessionOAuth2AuthorizedClientRepository`.
300300

301301
By default, the user info has no claims, and the id token has the `sub` claim, like so:
302302

@@ -367,7 +367,7 @@ mvc.perform(get("/endpoint").with(oauth2Login()));
367367

368368
What this will do is create a mock `OAuth2User`, passing it correctly through any authentication APIs so that it's available for your controllers and so on.
369369
It contains a mock set of attributes and a mock `Collection` of granted authorities.
370-
Also, <<a mock `OAuth2AuthorizedClient`,testing-oauth2-client>> associated with the user is registered to an `HttpSessionOAuth2AuthorizedClientRepository`.
370+
Also, <<testing-oauth2-client,a mock `OAuth2AuthorizedClient`>> associated with the user is registered to an `HttpSessionOAuth2AuthorizedClientRepository`.
371371

372372
By default, the set of attributes contains only `sub`:
373373

0 commit comments

Comments
 (0)