File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
module/finalizer/collection Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ func TestFinalizer(t *testing.T) {
6565 defer cleanup ()
6666
6767 pusher := collectionmock .NewGuaranteedCollectionPublisher (t )
68- pusher .On ("SubmitCollectionGuarantee" , mock .Anything )
6968 finalizer := collection .NewFinalizer (db , pool , pusher , metrics )
7069
7170 fakeBlockID := unittest .IdentifierFixture ()
@@ -78,7 +77,7 @@ func TestFinalizer(t *testing.T) {
7877 defer cleanup ()
7978
8079 pusher := collectionmock .NewGuaranteedCollectionPublisher (t )
81- pusher .On ("SubmitCollectionGuarantee" , mock .Anything )
80+ pusher .On ("SubmitCollectionGuarantee" , mock .Anything ). Once ()
8281 finalizer := collection .NewFinalizer (db , pool , pusher , metrics )
8382
8483 // tx1 is included in the finalized block
@@ -104,7 +103,6 @@ func TestFinalizer(t *testing.T) {
104103 defer cleanup ()
105104
106105 pusher := collectionmock .NewGuaranteedCollectionPublisher (t )
107- pusher .On ("SubmitCollectionGuarantee" , mock .Anything )
108106 finalizer := collection .NewFinalizer (db , pool , pusher , metrics )
109107
110108 // create a new block that isn't connected to a parent
You can’t perform that action at this time.
0 commit comments