chore: bump version to 5.0.13 and fix test mocks

This commit is contained in:
rcourtman 2026-01-10 00:27:11 +00:00
parent 07b4765b8d
commit 486ee29bc8
2 changed files with 17 additions and 1 deletions

View file

@ -1 +1 @@
5.0.12
5.0.13

View file

@ -57,6 +57,14 @@ func (l *testAuditLogger) VerifySignature(event audit.Event) bool {
return l.verifyResult
}
func (l *testAuditLogger) GetWebhookURLs() []string {
return []string{}
}
func (l *testAuditLogger) UpdateWebhookURLs(urls []string) error {
return nil
}
type testAuditLoggerNoVerify struct {
events []audit.Event
}
@ -78,6 +86,14 @@ func (l *testAuditLoggerNoVerify) Close() error {
return nil
}
func (l *testAuditLoggerNoVerify) GetWebhookURLs() []string {
return []string{}
}
func (l *testAuditLoggerNoVerify) UpdateWebhookURLs(urls []string) error {
return nil
}
func setAuditLogger(t *testing.T, logger audit.Logger) {
prev := audit.GetLogger()
audit.SetLogger(logger)