mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-17 09:46:37 +00:00
update tests
This commit is contained in:
parent
e2aa46eac8
commit
34c6b74315
@ -32,7 +32,7 @@ contract("SimpleStorage", function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("set storage value", function(done) {
|
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) {
|
SimpleStorage.methods.get().call().then(function(result) {
|
||||||
assert.equal(result, 150);
|
assert.equal(result, 150);
|
||||||
done();
|
done();
|
||||||
|
@ -26,7 +26,7 @@ describe("Token", function() {
|
|||||||
},
|
},
|
||||||
"Test": {
|
"Test": {
|
||||||
onDeploy: [
|
onDeploy: [
|
||||||
"Test.methods.changeAddress('$MyToken').send({from: web3.eth.defaultAccount})"
|
"Test.methods.changeAddress('$MyToken').send()"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user