Fix failing test

main
Jan Dittberner 2 years ago
parent 47d5b2afff
commit 2e343498af

@ -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…
Cancel
Save