Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: e2e test #1840

Merged
merged 15 commits into from
Nov 17, 2022
Next Next commit
refactor: ica e2e test
Yaru Wang committed Oct 24, 2022
commit df1b12dc575dda96c782fe41b3bc3b0e6bd651c5
5 changes: 2 additions & 3 deletions tests/e2e/e2e_ica_test.go
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ import (
)

// TestICARegister must run before any other
func (s *IntegrationTestSuite) TestICA_1_Register() {
func (s *IntegrationTestSuite) icaRegister() {
s.Run("register_ICA", func() {
connectionID := "connection-0"
var owner string
@@ -38,7 +38,7 @@ func (s *IntegrationTestSuite) TestICA_1_Register() {
})
}

func (s *IntegrationTestSuite) TestICA_2_BankSend() {
func (s *IntegrationTestSuite) icaBankSend() {
s.Run("test ica transactions", func() {
chainAAPIEndpoint := fmt.Sprintf("http://%s", s.valResources[s.chainA.id][0].GetHostPort("1317/tcp"))
chainBAPIEndpoint := fmt.Sprintf("http://%s", s.valResources[s.chainB.id][0].GetHostPort("1317/tcp"))
@@ -164,6 +164,5 @@ func (s *IntegrationTestSuite) TestICA_2_BankSend() {

s.Require().Equal(sendIBCamt, ibcAmt)

// todo add ica delegation after delegation e2e merged
})
}