Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed Dec 2, 2022
1 parent 4f9b0f5 commit 83fdc65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions x/authz/client/testutil/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
func (s *IntegrationTestSuite) TestQueryAuthorizations() {
val := s.network.Validators[0]

grantee := s.grantee
grantee := s.grantee[0]
twoHours := time.Now().Add(time.Minute * time.Duration(120)).Unix()

_, err := ExecGrant(
Expand Down Expand Up @@ -95,7 +95,7 @@ func (s *IntegrationTestSuite) TestQueryAuthorizations() {
func (s *IntegrationTestSuite) TestQueryAuthorization() {
val := s.network.Validators[0]

grantee := s.grantee
grantee := s.grantee[0]
twoHours := time.Now().Add(time.Minute * time.Duration(120)).Unix()

_, err := ExecGrant(
Expand Down
3 changes: 2 additions & 1 deletion x/mint/client/testutil/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (s *IntegrationTestSuite) TestQueryGRPC() {
&minttypes.QueryParamsResponse{},
&minttypes.QueryParamsResponse{
Params: minttypes.NewParams("stake", sdk.NewDecWithPrec(13, 2), sdk.NewDecWithPrec(100, 2),
sdk.NewDec(1), sdk.NewDecWithPrec(67, 2), (60 * 60 * 8766 / 5)),
sdk.NewDec(1), sdk.NewDecWithPrec(67, 2), 60*60*8766/5),
},
},
{
Expand All @@ -54,6 +54,7 @@ func (s *IntegrationTestSuite) TestQueryGRPC() {
},
}
for _, tc := range testCases {
tc := tc
resp, err := testutil.GetRequestWithHeaders(tc.url, tc.headers)
s.Run(tc.name, func() {
s.Require().NoError(err)
Expand Down

0 comments on commit 83fdc65

Please sign in to comment.