Fix Generics in ReactorContextTestExecutionListenerTests for JDK 9+
Issue: gh-6075
This commit is contained in:
parent
a28c677f88
commit
1a80d4a66c
|
@ -181,7 +181,8 @@ public class ReactorContextTestExecutionListenerTests {
|
|||
Hooks.onLastOperator("CUSTOM_HOOK", p -> Mono.just(obj));
|
||||
this.listener.afterTestMethod(this.testContext);
|
||||
|
||||
assertThat(Mono.subscriberContext().block()).isEqualTo(obj);
|
||||
Object result = Mono.subscriberContext().block();
|
||||
assertThat(result).isEqualTo(obj);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue