update tests
This commit is contained in:
parent
e2aa46eac8
commit
34c6b74315
|
@ -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();
|
||||
|
|
|
@ -26,7 +26,7 @@ describe("Token", function() {
|
|||
},
|
||||
"Test": {
|
||||
onDeploy: [
|
||||
"Test.methods.changeAddress('$MyToken').send({from: web3.eth.defaultAccount})"
|
||||
"Test.methods.changeAddress('$MyToken').send()"
|
||||
]
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue