File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
components/crypto/crypto-rest/src/test/kotlin/net/corda/crypto/rest/impl Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import net.corda.configuration.read.ConfigChangedEvent
8
8
import net.corda.configuration.read.ConfigurationReadService
9
9
import net.corda.crypto.config.impl.CryptoHSMConfig
10
10
import net.corda.crypto.config.impl.HSM
11
+ import net.corda.crypto.core.KeyRotationMetadataValues
11
12
import net.corda.crypto.core.KeyRotationStatus
12
13
import net.corda.crypto.core.MASTER_WRAPPING_KEY_ROTATION_IDENTIFIER
13
14
import net.corda.crypto.rest.KeyRotationRestResource
@@ -99,7 +100,12 @@ class KeyRotationRestResourceTest {
99
100
" random" ,
100
101
" random" .toByteArray(),
101
102
0 ,
102
- Metadata (mapOf (" status" to " In Progress" ))
103
+ Metadata (
104
+ mapOf (
105
+ KeyRotationMetadataValues .STATUS to " In Progress" ,
106
+ KeyRotationMetadataValues .DEFAULT_MASTER_KEY_ALIAS to MASTER_WRAPPING_KEY_ROTATION_IDENTIFIER
107
+ )
108
+ )
103
109
)
104
110
)
105
111
}
You can’t perform that action at this time.
0 commit comments