fix_: update mock paths
This commit is contained in:
parent
ef9279df63
commit
8a2366c96b
|
@ -114,3 +114,4 @@ integration-tests/*.log
|
|||
|
||||
# generated files
|
||||
mock
|
||||
mock.go
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package settings
|
||||
|
||||
//go:generate mockgen -package=mocksettings -source=database_settings_manager.go -destination=mocks/database_settings_manager_mock.go
|
||||
//go:generate mockgen -package=mock_settings -source=database_settings_manager.go -destination=mock/database_settings_manager.go
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package peer
|
||||
|
||||
//go:generate mockgen -package=peer -source=service.go -destination=discoverer_mock.go
|
||||
//go:generate mockgen -package=mock_peer -source=service.go -destination=mock/service.go
|
||||
|
||||
import (
|
||||
"github.com/ethereum/go-ethereum/node"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package pathprocessor
|
||||
|
||||
//go:generate mockgen -package=mock_pathprocessor -source=processor.go -destination=mock_pathprocessor/processor.go
|
||||
//go:generate mockgen -package=mock_pathprocessor -source=processor.go -destination=mock/processor.go
|
||||
|
||||
import (
|
||||
"math/big"
|
||||
|
|
|
@ -24,7 +24,6 @@ import (
|
|||
"github.com/status-im/status-go/services/wallet/walletevent"
|
||||
"github.com/status-im/status-go/t/helpers"
|
||||
"github.com/status-im/status-go/transactions"
|
||||
"github.com/status-im/status-go/transactions/mock_transactor"
|
||||
"github.com/status-im/status-go/walletdatabase"
|
||||
)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package transactions
|
||||
|
||||
//go:generate mockgen -source=transactor.go -destination=mock_transactor/transactor.go
|
||||
//go:generate mockgen -package=mock_transactions -source=transactor.go -destination=mock/transactor.go
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
|
|
@ -27,6 +27,7 @@ import (
|
|||
"github.com/status-im/status-go/sqlite"
|
||||
"github.com/status-im/status-go/t/utils"
|
||||
"github.com/status-im/status-go/transactions/fake"
|
||||
mock_fake "github.com/status-im/status-go/transactions/fake/mock"
|
||||
)
|
||||
|
||||
func TestTransactorSuite(t *testing.T) {
|
||||
|
@ -39,7 +40,7 @@ type TransactorSuite struct {
|
|||
server *gethrpc.Server
|
||||
client *gethrpc.Client
|
||||
txServiceMockCtrl *gomock.Controller
|
||||
txServiceMock *fake.MockPublicTransactionPoolAPI
|
||||
txServiceMock *mock_fake.MockPublicTransactionPoolAPI
|
||||
nodeConfig *params.NodeConfig
|
||||
|
||||
manager *Transactor
|
||||
|
|
Loading…
Reference in New Issue