Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Sep 26, 2024
1 parent e7a6630 commit a4b9384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/crosschain/types/cctx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func TestCrossChainTx_GetCurrentOutboundParam(t *testing.T) {
cctx := sample.CrossChainTx(t, "foo")

cctx.OutboundParams = []*types.OutboundParams{}
require.Equal(t, &types.OutboundParams{}, cctx.GetCurrentOutboundParam())
require.Equal(t, &types.OutboundParams{CallOptions: &types.CallOptions{}}, cctx.GetCurrentOutboundParam())

cctx.OutboundParams = []*types.OutboundParams{sample.OutboundParams(r)}
require.Equal(t, cctx.OutboundParams[0], cctx.GetCurrentOutboundParam())
Expand Down

0 comments on commit a4b9384

Please sign in to comment.