From 949f25b244228e87aa9c121b22bcd026d316ff1f Mon Sep 17 00:00:00 2001 From: Makoto Inoue Date: Fri, 28 Oct 2016 21:55:16 +0100 Subject: [PATCH] Deploy mock contracts on test --- migrations/2_deploy_contracts.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index ed1fb1122..869c60623 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -4,9 +4,10 @@ module.exports = function(deployer) { deployer.deploy(ProofOfExistence); deployer.deploy(Ownable); deployer.deploy(LimitFunds); - if(deployer.network == 'test'){ + deployer.deploy(SecureTargetMock); deployer.deploy(SecureTargetFactory); + deployer.deploy(InsecureTargetMock); deployer.deploy(InsecureTargetFactory); }; };