Fix failing test

This commit is contained in:
Jan Dittberner 2022-04-20 09:03:00 +02:00
parent 47d5b2afff
commit 2e343498af

View file

@ -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)
}