Skip to content

Commit

Permalink
Fix failing e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
gjermundgaraba committed Dec 20, 2023
1 parent ef278e6 commit db44fad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/tests/e2e/marketplace/buy_credits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (s *E2ETestSuite) TestBuyCreditsWithoutFeeSplit() {
// Buy some credits
out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, executeContractCmd, append([]string{
marketplaceAddress,
fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2}}`, creditOwnerAddress.String()),
fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2, "retire": false}}`, creditOwnerAddress.String()),
fmt.Sprintf("--amount=%s%s", "3000000", sdk.DefaultBondDenom),
fmt.Sprintf("--%s=%s", flags.FlagFrom, buyerKey.Name),
}, s.CommonFlags...))
Expand Down Expand Up @@ -146,7 +146,7 @@ func (s *E2ETestSuite) TestBuyCreditsWithFeeSplit() {
// Buy some credits
out, err = clitestutil.ExecTestCLICmd(val.ClientCtx, executeContractCmd, append([]string{
marketplaceAddress,
fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2}}`, creditOwnerAddress.String()),
fmt.Sprintf(`{"buy_credits": {"owner": "%s", "denom": "PTEST/00001", "number_of_credits_to_buy": 2, "retire": false}}`, creditOwnerAddress.String()),
fmt.Sprintf("--amount=%s%s", "3000000", sdk.DefaultBondDenom),
fmt.Sprintf("--%s=%s", flags.FlagFrom, buyerKey.Name),
fmt.Sprintf("--%s=%s", flags.FlagGas, "300000"),
Expand Down

0 comments on commit db44fad

Please sign in to comment.