Skip to content

Commit

Permalink
fix: add fee and change to is-view for parsing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jun 20, 2024
1 parent 48da21a commit a8786d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmd/crates/soroban-test/tests/it/integration/custom_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ use super::util::invoke_with_roundtrip;

fn invoke_custom(e: &TestEnv, id: &str, func: &str) -> assert_cmd::Command {
let mut s = e.new_assert_cmd("contract");
s.arg("invoke").arg("--id").arg(id).arg("--").arg(func);
s.arg("invoke")
.arg("--id")
.arg(id)
.arg("--is-view")
.arg("--")
.arg(func);
s
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ async fn invoke_auth_with_different_test_account_fail(sandbox: &TestEnv, id: &st
"--hd-path=0",
"--id",
id,
"--fee=1000000",
"--",
"auth",
&format!("--addr={addr}"),
Expand Down

0 comments on commit a8786d9

Please sign in to comment.