Skip to content

Commit

Permalink
Missed default on driver (corda#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
rick-r3 authored Aug 1, 2017
1 parent f87c6c4 commit f2df05a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class NodeMonitorModelTest : DriverBasedTest() {
lateinit var networkMapUpdates: Observable<NetworkMapCache.MapChange>
lateinit var newNode: (X500Name) -> NodeInfo

override fun setup() = driver(initialiseSerialization = false) {
override fun setup() = driver {
val cashUser = User("user1", "test", permissions = setOf(
startFlowPermission<CashIssueFlow>(),
startFlowPermission<CashPaymentFlow>(),
Expand Down
10 changes: 3 additions & 7 deletions test-utils/src/main/kotlin/net/corda/testing/driver/Driver.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,8 @@ import net.corda.nodeapi.User
import net.corda.nodeapi.config.SSLConfiguration
import net.corda.nodeapi.config.parseAs
import net.corda.nodeapi.internal.addShutdownHook
import net.corda.testing.ALICE
import net.corda.testing.BOB
import net.corda.testing.DUMMY_BANK_A
import net.corda.testing.DUMMY_NOTARY
import net.corda.testing.*
import net.corda.testing.node.MOCK_VERSION_INFO
import net.corda.testing.initialiseTestSerialization
import net.corda.testing.resetTestSerialization
import okhttp3.OkHttpClient
import okhttp3.Request
import org.bouncycastle.asn1.x500.X500Name
Expand Down Expand Up @@ -269,7 +264,8 @@ fun <A> driver(
isDebug = isDebug
),
coerce = { it },
dsl = dsl
dsl = dsl,
initialiseSerialization = initialiseSerialization
)

/**
Expand Down

0 comments on commit f2df05a

Please sign in to comment.