Fix failing test
This commit is contained in:
parent
47d5b2afff
commit
2e343498af
1 changed files with 1 additions and 2 deletions
|
@ -119,7 +119,6 @@ algorithm: "EC"`,
|
|||
|
||||
func TestCaCertificateEntry_UnmarshalYAML(t *testing.T) {
|
||||
data := `{
|
||||
"label":"root",
|
||||
"key-info": {
|
||||
"algorithm":"EC",
|
||||
"ecc-curve":"P-521"
|
||||
|
@ -136,11 +135,11 @@ func TestCaCertificateEntry_UnmarshalYAML(t *testing.T) {
|
|||
}
|
||||
|
||||
assert.Equal(t, CaCertificateEntry{
|
||||
Label: "root",
|
||||
KeyInfo: &PrivateKeyInfo{
|
||||
Algorithm: x509.ECDSA,
|
||||
EccCurve: elliptic.P521(),
|
||||
},
|
||||
CommonName: "My Little Test Root CA",
|
||||
Storage: "default",
|
||||
}, entry)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue