From c734d55b133c065ee41f1e5a8eb1f54afdd419d6 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sun, 11 Mar 2018 08:54:23 -0400 Subject: [PATCH] move unnecessary configs from test_app --- test_app/test/array_references_spec.js | 12 ---------- test_app/test/lib_test_spec.js | 33 -------------------------- test_app/test/simple_storage_spec.js | 26 -------------------- 3 files changed, 71 deletions(-) diff --git a/test_app/test/array_references_spec.js b/test_app/test/array_references_spec.js index 271c0abab..1492009b2 100644 --- a/test_app/test/array_references_spec.js +++ b/test_app/test/array_references_spec.js @@ -6,26 +6,14 @@ contract("SomeContract", function() { "SimpleStorage": { args: [100] }, - "AnotherStorage": { - args: ["$SimpleStorage"] - }, "Token": { deploy: false, args: [1000] }, - "MyToken": { - instanceOf: "Token" - }, "MyToken2": { instanceOf: "Token", args: [2000] }, - "ContractArgs": { - "args": { - "initialValue": 123, - "_addresses": ["$MyToken2", "$SimpleStorage"] - } - }, "SomeContract": { "args": [ ["$MyToken2", "$SimpleStorage"], diff --git a/test_app/test/lib_test_spec.js b/test_app/test/lib_test_spec.js index ceab0cfc4..e039dc621 100644 --- a/test_app/test/lib_test_spec.js +++ b/test_app/test/lib_test_spec.js @@ -4,46 +4,13 @@ contract("Test", function() { var contractsConfig = { "Test2": { }, - "Test": { - "gas": 2000000 - }, "ZAMyLib": { }, "ZAMyLib2": { "deploy": true - }, - "SimpleStorage": { - args: [100] - }, - "AnotherStorage": { - args: ["$SimpleStorage"] - }, - "Token": { - deploy: false, - args: [1000] - }, - "MyToken": { - instanceOf: "Token" - }, - "MyToken2": { - instanceOf: "Token", - args: [2000] - }, - "ContractArgs": { - "args": { - "initialValue": 123, - "_addresses": ["$MyToken2", "$SimpleStorage"] - } - }, - "SomeContract": { - "args": [ - ["$MyToken2", "$SimpleStorage"], - 100 - ] } }; - EmbarkSpec.deployAll(contractsConfig, () => { done() }); }); diff --git a/test_app/test/simple_storage_spec.js b/test_app/test/simple_storage_spec.js index bc9ae5d4d..6d16e7b8d 100644 --- a/test_app/test/simple_storage_spec.js +++ b/test_app/test/simple_storage_spec.js @@ -12,32 +12,6 @@ contract("SimpleStorage", function() { var contractsConfig = { "SimpleStorage": { args: [100] - }, - "AnotherStorage": { - args: ["$SimpleStorage"] - }, - "Token": { - deploy: false, - args: [1000] - }, - "MyToken": { - instanceOf: "Token" - }, - "MyToken2": { - instanceOf: "Token", - args: [2000] - }, - "ContractArgs": { - "args": { - "initialValue": 123, - "_addresses": ["$MyToken2", "$SimpleStorage"] - } - }, - "SomeContract": { - "args": [ - ["$MyToken2", "$SimpleStorage"], - 100 - ] } }; EmbarkSpec.deployAll(contractsConfig, () => { done() });