mirror of
https://github.com/corda/corda.git
synced 2025-06-18 07:08:15 +00:00
CORDA-4054: combine different identities of the same notary after its key rotation (#6734)
This commit is contained in:
@ -11,6 +11,7 @@ import net.corda.core.identity.CordaX500Name
|
||||
import net.corda.core.identity.Party
|
||||
import net.corda.core.node.ServicesForResolution
|
||||
import net.corda.core.node.services.AttachmentStorage
|
||||
import net.corda.core.node.services.IdentityService
|
||||
import net.corda.core.node.services.NetworkParametersService
|
||||
import net.corda.core.serialization.deserialize
|
||||
import net.corda.core.serialization.serialize
|
||||
@ -91,6 +92,7 @@ class AttachmentsClassLoaderStaticContractTests {
|
||||
val contractAttachmentId = SecureHash.randomSHA256()
|
||||
doReturn(listOf(contractAttachmentId)).whenever(attachmentStorage)
|
||||
.getLatestContractAttachments(AttachmentDummyContract.ATTACHMENT_PROGRAM_ID)
|
||||
doReturn(mock<IdentityService>()).whenever(it).identityService
|
||||
}
|
||||
|
||||
@Test(timeout=300_000)
|
||||
|
Reference in New Issue
Block a user