From ff424fa9443ad37872374a2b8b2e0f756058ff95 Mon Sep 17 00:00:00 2001 From: Josh Drake Date: Mon, 24 Jul 2023 15:27:49 -0500 Subject: [PATCH] Fix tests. --- authority/provisioner/x5c_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authority/provisioner/x5c_test.go b/authority/provisioner/x5c_test.go index ec3e0c73..f9a2604b 100644 --- a/authority/provisioner/x5c_test.go +++ b/authority/provisioner/x5c_test.go @@ -499,7 +499,7 @@ func TestX5C_AuthorizeSign(t *testing.T) { case *WebhookController: assert.Len(t, 0, v.webhooks) assert.Equals(t, linkedca.Webhook_X509, v.certType) - assert.Len(t, 1, v.options) + assert.Len(t, 2, v.options) default: assert.FatalError(t, fmt.Errorf("unexpected sign option of type %T", v)) } @@ -805,7 +805,7 @@ func TestX5C_AuthorizeSSHSign(t *testing.T) { case *WebhookController: assert.Len(t, 0, v.webhooks) assert.Equals(t, linkedca.Webhook_SSH, v.certType) - assert.Len(t, 1, v.options) + assert.Len(t, 2, v.options) default: assert.FatalError(t, fmt.Errorf("unexpected sign option of type %T", v)) }