| 43 | } |
| 44 | |
| 45 | type MockAuditor struct { |
| 46 | mutex sync.Mutex |
| 47 | auditLogs []database.AuditLog |
| 48 | } |
| 49 | |
| 50 | // ResetLogs removes all audit logs from the mock auditor. |
| 51 | // This is helpful for testing to get a clean slate. |
nothing calls this directly
no outgoing calls
no test coverage detected