File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ generate-mocks: install-mock-generators
199
199
mockery --name ' .*' --dir=" ./consensus/hotstuff" --case=underscore --output=" ./consensus/hotstuff/mocks" --outpkg=" mocks"
200
200
mockery --name ' .*' --dir=" ./engine/access/wrapper" --case=underscore --output=" ./engine/access/mock" --outpkg=" mock"
201
201
mockery --name ' API' --dir=" ./access" --case=underscore --output=" ./access/mock" --outpkg=" mock"
202
- mockery --name ' Blocks' --dir=" ./access" --case=underscore --output=" ./access/mock" --outpkg=" mock"
202
+ mockery --name ' Blocks' --dir=" ./access/validator " --case=underscore --output=" ./access/validator /mock" --outpkg=" mock"
203
203
mockery --name ' API' --dir=" ./engine/protocol" --case=underscore --output=" ./engine/protocol/mock" --outpkg=" mock"
204
204
mockery --name ' .*' --dir=" ./engine/access/state_stream" --case=underscore --output=" ./engine/access/state_stream/mock" --outpkg=" mock"
205
205
mockery --name ' BlockTracker' --dir=" ./engine/access/subscription" --case=underscore --output=" ./engine/access/subscription/mock" --outpkg=" mock"
File renamed without changes.
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import (
13
13
14
14
jsoncdc "github.com/onflow/cadence/encoding/json"
15
15
16
- accessmock "github.com/onflow/flow-go/access/mock"
17
16
"github.com/onflow/flow-go/access/validator"
17
+ validatormock "github.com/onflow/flow-go/access/validator/mock"
18
18
"github.com/onflow/flow-go/fvm"
19
19
"github.com/onflow/flow-go/model/flow"
20
20
"github.com/onflow/flow-go/module"
@@ -29,7 +29,7 @@ func TestTransactionValidatorSuite(t *testing.T) {
29
29
30
30
type TransactionValidatorSuite struct {
31
31
suite.Suite
32
- blocks * accessmock .Blocks
32
+ blocks * validatormock .Blocks
33
33
header * flow.Header
34
34
chain flow.Chain
35
35
validatorOptions validator.TransactionValidationOptions
@@ -38,7 +38,7 @@ type TransactionValidatorSuite struct {
38
38
39
39
func (s * TransactionValidatorSuite ) SetupTest () {
40
40
s .metrics = metrics .NewNoopCollector ()
41
- s .blocks = accessmock .NewBlocks (s .T ())
41
+ s .blocks = validatormock .NewBlocks (s .T ())
42
42
assert .NotNil (s .T (), s .blocks )
43
43
44
44
s .header = unittest .BlockHeaderFixture ()
You can’t perform that action at this time.
0 commit comments