Skip to content

Commit

Permalink
small fix to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed May 9, 2024
1 parent cff3677 commit e5b7edb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/crates/soroban-test/tests/it/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ pub async fn invoke_custom(
) -> Result<String, contract::invoke::Error> {
let mut i: contract::invoke::Cmd = sandbox.cmd_with_config(&["--id", id, "--", func, arg]);
i.wasm = Some(wasm.to_path_buf());
sandbox.run_cmd_with(i, TEST_ACCOUNT).await
sandbox
.run_cmd_with(i, TEST_ACCOUNT)
.await
.map(|r| r.into_result().unwrap())
}

pub const DEFAULT_CONTRACT_ID: &str = "CDR6QKTWZQYW6YUJ7UP7XXZRLWQPFRV6SWBLQS4ZQOSAF4BOUD77OO5Z";

0 comments on commit e5b7edb

Please sign in to comment.