mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
fix: duplicate workspace update entries (#4513)
* fix: duplicate workspace update entries * remove console log * attempting to fix tests * keep diffs with 0 changes * cleaned up test
This commit is contained in:
@ -21,7 +21,9 @@ func (nop) Export(context.Context, database.AuditLog) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (nop) diff(any, any) Map { return Map{} }
|
||||
func (nop) diff(any, any) Map {
|
||||
return Map{}
|
||||
}
|
||||
|
||||
func NewMock() *MockAuditor {
|
||||
return &MockAuditor{}
|
||||
@ -36,4 +38,6 @@ func (a *MockAuditor) Export(_ context.Context, alog database.AuditLog) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (*MockAuditor) diff(any, any) Map { return Map{} }
|
||||
func (*MockAuditor) diff(any, any) Map {
|
||||
return Map{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user