Merge pull request #211 from DeviateFish/fix/broken-test-deployment

Fix broken test environment
This commit is contained in:
Iuri Matias 2017-02-06 06:51:07 -05:00 committed by GitHub
commit 747ddc1815
2 changed files with 3 additions and 4 deletions

View File

@ -21,7 +21,7 @@ var Test = function(options) {
}
this.web3 = new Web3();
this.web3.setProvider(this.sim.provider());
this.web3.setProvider(this.sim.provider(options));
};
Test.prototype.deployAll = function(contractsConfig, cb) {
@ -39,8 +39,7 @@ Test.prototype.deployAll = function(contractsConfig, cb) {
contractsConfig: config.contractsConfig,
logger: logger
});
contractsManager.build();
callback(null, contractsManager);
contractsManager.build(callback);
},
function deployContracts(contractsManager, callback) {
var deploy = new Deploy({

View File

@ -34,7 +34,7 @@
"request": "^2.75.0",
"serve-static": "^1.11.1",
"shelljs": "^0.5.0",
"solc": "^0.4.8",
"solc": "0.4.8",
"toposort": "^1.0.0",
"web3": "^0.18.2",
"wrench": "^1.5.8"