Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Feb 14, 2024
1 parent 78a3e82 commit 9fb984c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/interchaintest/contract_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1140,7 +1140,7 @@ func (s *ContractTestSuite) TestMigrateOrderedToUnordered() {
// Check if contract channel state was updated:
contractChannelState, err := types.QueryAnyMsg[icacontroller.State](ctx, &s.Contract.Contract, icacontroller.GetChannelRequest)
s.Require().NoError(err)
s.Require().Equal(channeltypes.OPEN.String(), contractChannelState.ChannelStatus)
s.Require().Equal(icacontroller.Status_StateOpen_Value, contractChannelState.ChannelStatus)
s.Require().Equal(wasmdChannel.ConnectionHops[0], contractChannelState.Channel.ConnectionId)
s.Require().Equal(wasmdChannel.ChannelID, contractChannelState.Channel.Endpoint.ChannelId)
s.Require().Equal(wasmdChannel.PortID, contractChannelState.Channel.Endpoint.PortId)
Expand Down
2 changes: 1 addition & 1 deletion e2e/interchaintest/owner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (s *OwnerTestSuite) TestOwnerCreateIcaContract() {

ownershipResponse, err := types.QueryAnyMsg[icacontroller.Ownership_for_String](ctx, &icaContract.Contract, icacontroller.OwnershipRequest)
s.Require().NoError(err)
s.Require().Equal(s.OwnerContract.Address, ownershipResponse.Owner)
s.Require().Equal(s.OwnerContract.Address, *ownershipResponse.Owner)
s.Require().Nil(ownershipResponse.PendingOwner)
s.Require().Nil(ownershipResponse.PendingExpiry)
})
Expand Down

0 comments on commit 9fb984c

Please sign in to comment.