Skip to content

Commit

Permalink
fix coinswap e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-zq committed Jun 28, 2024
1 parent 4cb043e commit 08548d8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions e2e/coinswap/cli_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package coinswap

// import (
// "testing"
import (
"testing"

// "github.com/stretchr/testify/suite"
// )
"github.com/stretchr/testify/suite"
)

// func TestQueryTestSuite(t *testing.T) {
// suite.Run(t, new(QueryTestSuite))
// }
func TestQueryTestSuite(t *testing.T) {
suite.Run(t, new(QueryTestSuite))
}
2 changes: 1 addition & 1 deletion e2e/coinswap/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (s *QueryTestSuite) TestCoinswap() {
Owner: from.String(),
}
txResult := s.BlockSendMsgs(s.T(), msgIssueToken)
s.Require().Equal(0, txResult.Code, "send issue token msg failed")
s.Require().Equal(uint32(0), txResult.Code, "send issue token msg failed")

//_ = tokentestutil.IssueTokenExec(s.T(), s.Network, clientCtx, from.String(), args...)

Expand Down

0 comments on commit 08548d8

Please sign in to comment.