mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-21 11:37:07 +00:00
Fix retention tests on Windows
This commit is contained in:
@@ -36,7 +36,7 @@ func TestDoRetentionScan(t *testing.T) {
|
||||
mb3.On("GetMessages").Return([]Message{new3}, nil)
|
||||
|
||||
// Test 4 hour retention
|
||||
if err := doRetentionScan(mds, 4*time.Hour, 0); err != nil {
|
||||
if err := doRetentionScan(mds, 4*time.Hour-time.Minute, 0); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user