1
0
mirror of synced 2026-05-22 13:23:17 +00:00

Merge branch '5.7.x' into 5.8.x

This commit is contained in:
Marcus Da Coregio
2023-04-19 11:27:08 -03:00
2 changed files with 5 additions and 5 deletions
@@ -140,11 +140,11 @@ public final class SecurityMockMvcResultMatchers {
/**
* Allows for any validating the authentication with arbitrary assertions
* @param assesrtAuthentication the Consumer which validates the authentication
* @param assertAuthentication the Consumer which validates the authentication
* @return the AuthenticatedMatcher to perform additional assertions
*/
public AuthenticatedMatcher withAuthentication(Consumer<Authentication> assesrtAuthentication) {
this.assertAuthentication = assesrtAuthentication;
public AuthenticatedMatcher withAuthentication(Consumer<Authentication> assertAuthentication) {
this.assertAuthentication = assertAuthentication;
return this;
}