Fix removal of framework deprecated code
Issue https://github.com/spring-projects/spring-framework/issues/27686
This commit is contained in:
+1
-1
@@ -74,7 +74,7 @@ public class OAuth2LoginAuthenticationWebFilterTests {
|
||||
this.filter = new OAuth2LoginAuthenticationWebFilter(this.authenticationManager,
|
||||
this.authorizedClientRepository);
|
||||
this.webFilterExchange = new WebFilterExchange(MockServerWebExchange.from(MockServerHttpRequest.get("/")),
|
||||
new DefaultWebFilterChain((exchange) -> exchange.getResponse().setComplete()));
|
||||
new DefaultWebFilterChain((exchange) -> exchange.getResponse().setComplete(), Collections.emptyList()));
|
||||
given(this.authorizedClientRepository.saveAuthorizedClient(any(), any(), any())).willReturn(Mono.empty());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user