Prefer existing Context in ReactorContextTestExecutionListener
Issue gh-4718
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ public class ReactorContextTestExecutionListener
|
||||
return context;
|
||||
}
|
||||
Context toMerge = ReactiveSecurityContextHolder.withAuthentication(authentication);
|
||||
return context.putAll(toMerge);
|
||||
return toMerge.putAll(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user