Browse Source

Deploy mock contracts on test

Makoto Inoue 9 years ago
parent
commit
949f25b244
1 changed files with 2 additions and 1 deletions
  1. 2 1
      migrations/2_deploy_contracts.js

+ 2 - 1
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);
   };
 };