Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Jun 17, 2021
1 parent d1b23b1 commit 4d4942a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/babe/babe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func TestService_ProducesBlocks(t *testing.T) {
}()

time.Sleep(babeService.slotDuration * 2)
babeService.blockImportHandler.(*mocks.BlockImportHandler).AssertCalled(t, "HandleBlockImport", mock.AnythingOfType("*types.Block"), mock.AnythingOfType("*storage.TrieState"))
babeService.blockImportHandler.(*mocks.BlockImportHandler).AssertCalled(t, "HandleBlockProduced", mock.AnythingOfType("*types.Block"), mock.AnythingOfType("*storage.TrieState"))
}

func TestService_GetAuthorityIndex(t *testing.T) {
Expand Down

0 comments on commit 4d4942a

Please sign in to comment.