From cd36671a0d87a53a10dfd5693b20a2dff43f315a Mon Sep 17 00:00:00 2001 From: Anca Zamfir Date: Mon, 20 Dec 2021 00:43:12 +0100 Subject: [PATCH] Fix TestIsTimely --- types/proposal_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/proposal_test.go b/types/proposal_test.go index a7a6083f8..8885a0bee 100644 --- a/types/proposal_test.go +++ b/types/proposal_test.go @@ -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) }) }