internal/server: fix dropped testing error (#3015)

This commit is contained in:
Lars Lehtonen authored and GitHub committed 2023-08-17 08:55:57 -04:00
1 parent 2bc3682323
commit ee6803d106
1 file changed
+1
+1
View File
@@ -64,6 +64,7 @@ func TestRootCertificate(ctx context.Context, t *testing.T, conn *db.DB, kmsKey
cert, err := newRootCertificate(ctx, mathRand.Uint64(), populateBytes(defaultLength), beforeTimestamp, afterTimestamp,
rootCertKeys, kmsKey, CurrentState)
require.NoError(t, err)
err = rw.Create(ctx, cert)
require.NoError(t, err)
return cert