update tests

This commit is contained in:
Iuri Matias 2018-01-12 18:08:44 -05:00
parent e2aa46eac8
commit 34c6b74315
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -26,7 +26,7 @@ describe("Token", function() {
},
"Test": {
onDeploy: [
"Test.methods.changeAddress('$MyToken').send({from: web3.eth.defaultAccount})"
"Test.methods.changeAddress('$MyToken').send()"
]
}
};