mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-13 13:53:29 +00:00
Fix Generics in ReactorContextTestExecutionListenerTests for JDK 9+
Issue: gh-6075
This commit is contained in:
parent
9eb58c94e0
commit
381b4c118d
@ -183,7 +183,8 @@ public class ReactorContextTestExecutionListenerTests {
|
|||||||
Hooks.onLastOperator("CUSTOM_HOOK", p -> Mono.just(obj));
|
Hooks.onLastOperator("CUSTOM_HOOK", p -> Mono.just(obj));
|
||||||
this.listener.afterTestMethod(this.testContext);
|
this.listener.afterTestMethod(this.testContext);
|
||||||
|
|
||||||
assertThat(Mono.subscriberContext().block()).isEqualTo(obj);
|
Object result = Mono.subscriberContext().block();
|
||||||
|
assertThat(result).isEqualTo(obj);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user