mirror of
https://github.com/certctl-io/certctl.git
synced 2026-09-25 20:49:04 +02:00
fix: remove unused variable failing go vet in CI
expectedCRL was declared but never used in TestIssuerConnectorAdapter_GenerateCRL_Success. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
37c9ba252b
commit
489ec92aca
@@ -382,7 +382,6 @@ func TestIssuerConnectorAdapter_RevokeCertificate_EmptyReason(t *testing.T) {
|
|||||||
|
|
||||||
func TestIssuerConnectorAdapter_GenerateCRL_Success(t *testing.T) {
|
func TestIssuerConnectorAdapter_GenerateCRL_Success(t *testing.T) {
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
expectedCRL := []byte("DER-encoded-CRL-data")
|
|
||||||
|
|
||||||
mock := &mockConnectorLayerIssuer{
|
mock := &mockConnectorLayerIssuer{
|
||||||
// Mock returns a valid DER CRL when GenerateCRL is called
|
// Mock returns a valid DER CRL when GenerateCRL is called
|
||||||
|
|||||||
Reference in New Issue
Block a user