Fix Generics in ReactorContextTestExecutionListenerTests for JDK 9+
Issue: gh-6075
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user