mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-02-13 09:54:57 +00:00
Fix ReactorContext after changes to Reactor
This commit is contained in:
parent
306f81b7f7
commit
4fd17e4c2e
@ -59,7 +59,7 @@ public class ReactorContextTestExecutionListenerTests {
|
||||
public void beforeTestMethodWhenSecurityContextEmptyThenReactorContextNull() throws Exception {
|
||||
listener.beforeTestMethod(testContext);
|
||||
|
||||
assertThat(Mono.currentContext().block()).isNull();
|
||||
assertThat(Mono.currentContext().block().isEmpty()).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -68,7 +68,7 @@ public class ReactorContextTestExecutionListenerTests {
|
||||
|
||||
listener.beforeTestMethod(testContext);
|
||||
|
||||
assertThat(Mono.currentContext().block()).isNull();
|
||||
assertThat(Mono.currentContext().block().isEmpty()).isTrue();
|
||||
}
|
||||
|
||||
|
||||
@ -97,7 +97,7 @@ public class ReactorContextTestExecutionListenerTests {
|
||||
|
||||
listener.afterTestMethod(testContext);
|
||||
|
||||
assertThat(Mono.currentContext().block()).isNull();
|
||||
assertThat(Mono.currentContext().block().isEmpty()).isTrue();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user