Skip to content

Commit

Permalink
fix: use default TestEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed May 20, 2024
1 parent 1c3ec6d commit 17e3ad2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/crates/soroban-test/tests/it/integration/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ use crate::{

#[tokio::test]
async fn txn_simulate() {
let host_port = 8000;
let sandbox = &TestEnv::with_rpc_url(&format!("http://moss:{host_port}/soroban/rpc"));

let sandbox = &TestEnv::new();
let xdr_base64 = deploy_contract(sandbox, HELLO_WORLD, true).await;
println!("{xdr_base64}");
let cmd = tx::simulate::Cmd::default();
Expand Down Expand Up @@ -46,8 +46,8 @@ async fn txn_simulate() {

#[tokio::test]
async fn txn_send() {
let host_port = 8000;
let sandbox = &TestEnv::with_rpc_url(&format!("http://moss:{host_port}/soroban/rpc"));

let sandbox = &TestEnv::new();
sandbox
.new_assert_cmd("contract")
.arg("install")
Expand Down

0 comments on commit 17e3ad2

Please sign in to comment.