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:
Kira Pilot
2022-10-14 14:39:20 -04:00
committed by GitHub
parent a029817d3d
commit dd8ebf10db
4 changed files with 20 additions and 9 deletions

View File

@ -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{}
}