Skip to content

Commit

Permalink
remove init calls from tests
Browse files Browse the repository at this point in the history
Signed-off-by: salaheldinsoliman <[email protected]>
  • Loading branch information
salaheldinsoliman committed Dec 2, 2024
1 parent 27c61ad commit 2826851
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions integration/soroban/runtime_error.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ describe('Runtime Error', () => {
// load contract
contract = new StellarSdk.Contract(contractAddr);

// initialize the contract
await call_contract_function("init", server, keypair, contract);

// call decrement once. The second call however will result in a runtime error
await call_contract_function("decrement", server, keypair, contract);
});
Expand Down
3 changes: 0 additions & 3 deletions integration/soroban/storage_types.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ describe('StorageTypes', () => {

// Load contract
contract = new StellarSdk.Contract(contractAddr);

// Initialize the contract if necessary (adapt according to your contract logic)
await call_contract_function("init", server, keypair, contract);
});

it('check initial values', async () => {
Expand Down

0 comments on commit 2826851

Please sign in to comment.