Skip to content

Commit

Permalink
new mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dshulyak committed Sep 28, 2023
1 parent 149ac2d commit 609f26c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions activation/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1012,11 +1012,7 @@ func TestHandler_HandleSyncedAtx(t *testing.T) {

buf, err := codec.Encode(atx)
require.NoError(t, err)

atxHdlr.mclock.EXPECT().LayerToTime(gomock.Any()).Return(time.Now())
require.NoError(t, atxHdlr.HandleSyncedAtx(context.Background(), atx.ID().Hash32(), p2p.NoPeer, buf))

atxHdlr.mclock.EXPECT().LayerToTime(gomock.Any()).Return(time.Now())
require.NoError(t, atxHdlr.HandleGossipAtx(context.Background(), localID, buf))
})

Expand Down

0 comments on commit 609f26c

Please sign in to comment.