MCPcopy Create free account
hub / github.com/Sifchain/sifnode / TestCloseCmd

Method TestCloseCmd

x/margin/client/cli/tx_test.go:73–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73func (s *IntegrationTestSuite) TestCloseCmd() {
74 val := s.network.Validators[0]
75
76 args := []string{
77 "--id=1",
78 "--from=" + val.Address.String(),
79 "-y",
80 }
81 _, err := testutilcli.ExecTestCLICmd(val.ClientCtx, cli.GetCloseCmd(), args)
82 require.NoError(s.T(), err)
83}
84
85func TestIntegrationTestSuite(t *testing.T) {
86 suite.Run(t, new(IntegrationTestSuite))

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected