internal/server: fix dropped testing error (#3015)
This commit is contained in:
1 parent
2bc3682323
commit
ee6803d106
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user