diff --git a/src/test/groovy/io/emeraldpay/dshackle/rpc/NativeCallSpec.groovy b/src/test/groovy/io/emeraldpay/dshackle/rpc/NativeCallSpec.groovy index 95dc0924..cd295014 100644 --- a/src/test/groovy/io/emeraldpay/dshackle/rpc/NativeCallSpec.groovy +++ b/src/test/groovy/io/emeraldpay/dshackle/rpc/NativeCallSpec.groovy @@ -259,7 +259,7 @@ class NativeCallSpec extends Specification { .build() }) .build() - 1 * upstreams.getUpstream(Chain.TESTNET_MORDEN) >> null + 1 * upstreams.isAvailable(Chain.TESTNET_MORDEN) >> false when: def resp = nativeCall.prepareCall(req) then: