Skip to content

Commit

Permalink
UT fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbundalo committed Jul 5, 2024
1 parent 1d229be commit dac94c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions consensus/polybft/polybft_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
"github.com/stretchr/testify/require"
"go.etcd.io/bbolt"
)

// the test initializes polybft and chain mock (map of headers) after which a new header is verified
Expand Down Expand Up @@ -217,6 +218,7 @@ func TestPolybft_Close(t *testing.T) {
runtime: &consensusRuntime{
bridgeManager: &dummyBridgeManager{},
},
state: &State{db: &bbolt.DB{}},
}

assert.NoError(t, polybft.Close())
Expand Down

0 comments on commit dac94c1

Please sign in to comment.