diff --git a/api/api_test.go b/api/api_test.go index 93fa8748..5b7863d2 100644 --- a/api/api_test.go +++ b/api/api_test.go @@ -691,11 +691,11 @@ func Test_caHandler_JWKSetByIssuer(t *testing.T) { } p := []*provisioner.Provisioner{ - &provisioner.Provisioner{ + { Issuer: "p1", Key: &key, }, - &provisioner.Provisioner{ + { Issuer: "p2", Key: &key, }, @@ -767,13 +767,13 @@ func Test_caHandler_Provisioners(t *testing.T) { } p := []*provisioner.Provisioner{ - &provisioner.Provisioner{ + { Type: "JWK", Issuer: "max", EncryptedKey: "abc", Key: &key, }, - &provisioner.Provisioner{ + { Type: "JWK", Issuer: "mariano", EncryptedKey: "def",