Skip to content

Commit

Permalink
fix: add test to check if default is used for durability (#1644)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal authored Oct 2, 2024
1 parent 1f20dcd commit bb9c712
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cmd/crates/soroban-test/tests/it/integration/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,7 @@ pub async fn extend_contract(sandbox: &TestEnv, id: &str) {
}

pub async fn extend(sandbox: &TestEnv, id: &str, value: Option<&str>) {
let mut args = vec![
"--id",
id,
"--durability",
"persistent",
"--ledgers-to-extend",
"100001",
];
let mut args = vec!["--id", id, "--ledgers-to-extend", "100001"];
if let Some(value) = value {
args.push("--key");
args.push(value);
Expand Down

0 comments on commit bb9c712

Please sign in to comment.