Skip to content

Commit 9de717a

Browse files
author
Steve Riesenberg
committed
Polish gh-13575
1 parent 3a50c92 commit 9de717a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/modules/ROOT/pages/servlet/test/mockmvc/result-handlers.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In order to use Spring Security's ``ResultHandler``s implementations ensure the
88
import static org.springframework.security.test.web.servlet.response.SecurityMockMvcResultHandlers.*;
99
----
1010

11-
==== Exporting the SecurityContext
11+
== Exporting the SecurityContext
1212

1313
Often times we want to query a repository to see if some `MockMvc` request actually persisted in the database.
1414
In some cases our repository query uses the xref:features/integrations/data.adoc[Spring Data Integration] to filter the results based on current user's username or any other property.

docs/modules/ROOT/pages/servlet/test/mockmvc/result-matchers.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import org.springframework.security.test.web.servlet.response.SecurityMockMvcRes
2222
----
2323
======
2424

25-
=== Unauthenticated Assertion
25+
== Unauthenticated Assertion
2626

2727
At times it may be valuable to assert that there is no authenticated user associated with the result of a `MockMvc` invocation.
2828
For example, you might want to test submitting an invalid username and password and verify that no user is authenticated.
@@ -49,7 +49,7 @@ mvc
4949
----
5050
======
5151

52-
=== Authenticated Assertion
52+
== Authenticated Assertion
5353

5454
It is often times that we must assert that an authenticated user exists.
5555
For example, we may want to verify that we authenticated successfully.

0 commit comments

Comments
 (0)