mirror of
https://github.com/corda/corda.git
synced 2025-03-14 16:26:36 +00:00
Fix failing unit test missing some mocked attributes.
This commit is contained in:
parent
597442cc0b
commit
14e30a9e65
@ -142,6 +142,8 @@ class NodeTest {
|
||||
|
||||
val node = Node(configuration, rigorousMock<VersionInfo>().also {
|
||||
doReturn(10).whenever(it).platformVersion
|
||||
doReturn("test-vendor").whenever(it).vendor
|
||||
doReturn("1.0").whenever(it).releaseVersion
|
||||
}, initialiseSerialization = false)
|
||||
|
||||
//this throws an exception with old behaviour
|
||||
|
Loading…
x
Reference in New Issue
Block a user