mirror of
https://github.com/embarklabs/embark.git
synced 2025-02-24 19:38:22 +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) {
|
||||
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…
x
Reference in New Issue
Block a user