1
0
mirror of synced 2026-08-05 17:57:15 +00:00

Remove deprecation warnings with Context.putAll

Closes gh-11476
This commit is contained in:
Steve Riesenberg
2022-07-08 14:36:20 -05:00
parent 7da34cfa2c
commit 206c6ffb54
3 changed files with 4 additions and 4 deletions
@@ -107,7 +107,7 @@ public class ReactorContextTestExecutionListener extends DelegatingTestExecution
return context;
}
Context toMerge = ReactiveSecurityContextHolder.withSecurityContext(Mono.just(this.securityContext));
return toMerge.putAll(context);
return toMerge.putAll(context.readOnly());
}
@Override