Fix TestIsTimely

This commit is contained in:
Anca Zamfir
2021-12-20 00:43:12 +01:00
parent ea3398bde8
commit cd36671a0d

View File

@@ -250,7 +250,7 @@ func TestIsTimely(t *testing.T) {
mockSource := new(tmtimemocks.Source)
mockSource.On("Now").Return(testCase.localTime)
ti := p.IsTimely(mockSource, tp)
ti := p.IsTimely(mockSource, tp, 1)
assert.Equal(t, testCase.expectTimely, ti)
})
}