Fix ReactorContext after changes to Reactor

This commit is contained in:
Rob Winch 2017-08-30 14:25:40 -05:00
parent 306f81b7f7
commit 4fd17e4c2e
1 changed files with 3 additions and 3 deletions

View File

@ -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