Fix a Kotlin test compile warning
This commit is contained in:
parent
a4d546a9d6
commit
5170f3f594
|
|
@ -299,6 +299,7 @@ abstract class AbstractCoroutinesTransactionAspectTests {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
private fun checkReactiveTransaction(expected: Boolean) {
|
private fun checkReactiveTransaction(expected: Boolean) {
|
||||||
Mono.subscriberContext().handle { context: Context, sink: SynchronousSink<Any?> ->
|
Mono.subscriberContext().handle { context: Context, sink: SynchronousSink<Any?> ->
|
||||||
if (context.hasKey(TransactionContext::class.java) != expected) {
|
if (context.hasKey(TransactionContext::class.java) != expected) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue