From 9280c128581aacabffd3e515ef4d8d6d1ed8c213 Mon Sep 17 00:00:00 2001 From: testinginprod Date: Tue, 17 Sep 2024 15:18:13 +0200 Subject: [PATCH] fix leftover test --- x/auth/keeper/grpc_query_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x/auth/keeper/grpc_query_test.go b/x/auth/keeper/grpc_query_test.go index 82e9cfe573fc..3cec48579b61 100644 --- a/x/auth/keeper/grpc_query_test.go +++ b/x/auth/keeper/grpc_query_test.go @@ -7,11 +7,11 @@ import ( "math" "sort" - "github.com/cosmos/gogoproto/proto" - "github.com/cosmos/cosmos-sdk/testutil/testdata" sdk "github.com/cosmos/cosmos-sdk/types" "github.com/cosmos/cosmos-sdk/x/auth/types" + "github.com/cosmos/gogoproto/proto" + "github.com/golang/mock/gomock" ) const addrStr = "cosmos13c3d4wq2t22dl0dstraf8jc3f902e3fsy9n3wv" @@ -110,6 +110,7 @@ func (suite *KeeperTestSuite) TestGRPCQueryAccount() { "account not found", func() { req = &types.QueryAccountRequest{Address: addr.String()} + }, false, func(res *types.QueryAccountResponse) {}, @@ -135,6 +136,7 @@ func (suite *KeeperTestSuite) TestGRPCQueryAccount() { for _, tc := range testCases { suite.Run(fmt.Sprintf("Case %s", tc.msg), func() { suite.SetupTest() // reset + suite.acctsModKeeper.EXPECT().IsAccountsModuleAccount(gomock.Any(), gomock.Any()).Return(false).AnyTimes() tc.malleate() res, err := suite.queryClient.Account(suite.ctx, req)