Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
archbear committed Jun 24, 2024
1 parent f4ab7ed commit 7c77329
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mod/storage/pkg/pruner/pruner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ import (
"time"

"cosmossdk.io/log"
"github.com/berachain/beacon-kit/mod/async/pkg/types"
"github.com/berachain/beacon-kit/mod/primitives/pkg/events"
"github.com/berachain/beacon-kit/mod/primitives/pkg/math"
"github.com/berachain/beacon-kit/mod/storage/pkg/pruner"
"github.com/berachain/beacon-kit/mod/storage/pkg/pruner/mocks"
Expand Down Expand Up @@ -96,8 +94,7 @@ func TestPruner(t *testing.T) {
block.On("GetSlot").Return(math.U64(index))
event := mocks.BlockEvent[pruner.BeaconBlock]{}
event.On("Data").Return(&block)
event.On("Type", mock.Anything).Return(
types.EventID(events.BeaconBlockFinalized))
event.On("Is", mock.Anything).Return(true)
ch <- &event
}

Expand Down

0 comments on commit 7c77329

Please sign in to comment.