Skip to content

Commit

Permalink
test: fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond committed Sep 26, 2023
1 parent ebc071a commit ca8df99
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion x/margin/client/cli/tx_close_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func TestClosePosition(t *testing.T) {
// Tendermint RPC calls.
// ...
args := []string{
"--id=1",
"1",
"--from=" + val.Address.String(),
"-y",
}
Expand Down
10 changes: 5 additions & 5 deletions x/margin/client/cli/tx_open_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ func TestOpenPosition(t *testing.T) {
// Tendermint RPC calls.
// ...
args := []string{
"--collateral_asset=" + ptypes.BaseCurrency,
"--borrow_asset=uatom",
"--collateral_amount=1000",
"--position=long",
"--leverage=1.5",
"open",
"1.5",
ptypes.BaseCurrency,
"1000",
"uatom",
"--from=" + val.Address.String(),
"-y",
}
Expand Down

0 comments on commit ca8df99

Please sign in to comment.