Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal committed Jun 19, 2024
1 parent 4ad8d05 commit bf6bbe4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/crates/soroban-test/tests/it/integration/hello_world.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ async fn invoke() {
.stdout_as_str();
let dir = sandbox.dir();
let seed_phrase = std::fs::read_to_string(dir.join(".soroban/identity/test.toml")).unwrap();
let s = toml::from_str::<secret::Secret>(&seed_phrase).unwrap();
let secret::Secret::SeedPhrase { seed_phrase } = s else {
let s = toml::from_str::<secret::Signer>(&seed_phrase).unwrap();
let secret::Signer::SeedPhrase { seed_phrase } = s else {
panic!("Expected seed phrase")
};
let id = &deploy_hello(sandbox).await;
Expand Down Expand Up @@ -106,7 +106,7 @@ async fn invoke() {
config_locator
.write_identity(
"testone",
&secret::Secret::SecretKey {
&secret::Signer::SecretKey {
secret_key: secret_key_1.clone(),
},
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/crates/soroban-test/tests/it/integration/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub async fn deploy_swap(sandbox: &TestEnv) -> String {
}

pub async fn deploy_custom_account(sandbox: &TestEnv) -> String {
deploy_contract(sandbox, CUSTOM_ACCOUNT).await
deploy_contract(sandbox, CUSTOM_ACCOUNT, DeployKind::Normal).await
}

pub async fn deploy_contract(
Expand Down

0 comments on commit bf6bbe4

Please sign in to comment.