mirror of
https://github.com/certctl-io/certctl.git
synced 2026-09-26 21:59:02 +02:00
fix: unused certRepo variable and missing revocation wiring
- revocation_test.go: certRepo unused in TestGenerateDERCRL_Success, replaced with blank identifier - lifecycle_test.go: missing revocationRepo init and setter calls (SetRevocationRepo, SetNotificationService, SetIssuerRegistry) that negative_test.go already had Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
5407fabe1d
commit
d4fd46155e
@@ -412,7 +412,7 @@ func TestRevokeCertificate_HandlerInterfaceMethod(t *testing.T) {
|
||||
// M15b: CRL and OCSP Service Tests
|
||||
|
||||
func TestGenerateDERCRL_Success(t *testing.T) {
|
||||
svc, certRepo, revocationRepo, _ := newRevocationTestService()
|
||||
svc, _, revocationRepo, _ := newRevocationTestService()
|
||||
|
||||
// Add some revoked certificates to the repo
|
||||
now := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user