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

pull/3604/head
Lars Lehtonen 3 years ago committed by GitHub
parent 2bc3682323
commit ee6803d106
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save