diff --git a/test_app/test/simple_storage_spec.js b/test_app/test/simple_storage_spec.js index 619342f7..3c123c0c 100644 --- a/test_app/test/simple_storage_spec.js +++ b/test_app/test/simple_storage_spec.js @@ -32,7 +32,7 @@ contract("SimpleStorage", function() { }); it("set storage value", function(done) { - SimpleStorage.methods.set(150).send({from: web3.eth.defaultAccount}).then(function() { + SimpleStorage.methods.set(150).send().then(function() { SimpleStorage.methods.get().call().then(function(result) { assert.equal(result, 150); done(); diff --git a/test_app/test/token_spec.js b/test_app/test/token_spec.js index 841ad440..4f5c6417 100644 --- a/test_app/test/token_spec.js +++ b/test_app/test/token_spec.js @@ -26,7 +26,7 @@ describe("Token", function() { }, "Test": { onDeploy: [ - "Test.methods.changeAddress('$MyToken').send({from: web3.eth.defaultAccount})" + "Test.methods.changeAddress('$MyToken').send()" ] } };