mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
bindToApplicatonContext uses WebSessionManager bean
Issue: SPR-17094
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ abstract class AbstractMockServerSpec<B extends WebTestClient.MockServerSpec<B>>
|
||||
if (!CollectionUtils.isEmpty(this.filters)) {
|
||||
builder.filters(theFilters -> theFilters.addAll(0, this.filters));
|
||||
}
|
||||
if (this.sessionManager != null) {
|
||||
if (!builder.hasSessionManager() && this.sessionManager != null) {
|
||||
builder.sessionManager(this.sessionManager);
|
||||
}
|
||||
if (!CollectionUtils.isEmpty(this.configurers)) {
|
||||
|
||||
Reference in New Issue
Block a user