From b2206b9358b79f365a8ad6895c97d28b2fae3de5 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Mon, 17 Sep 2018 10:13:40 +0100 Subject: [PATCH] Fix test --- test_apps/test_app/config/contracts.js | 2 +- test_apps/test_app/test/token_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_apps/test_app/config/contracts.js b/test_apps/test_app/config/contracts.js index 8b4a36bcd..c68c002ef 100644 --- a/test_apps/test_app/config/contracts.js +++ b/test_apps/test_app/config/contracts.js @@ -53,7 +53,7 @@ module.exports = { } }, SomeContract: { - deployIf: 'MyToken.methods.isAvailable().call()', + deployIf: 'await MyToken.methods.isAvailable().call()', args: [ ["$MyToken2", "$SimpleStorage"], 100 diff --git a/test_apps/test_app/test/token_spec.js b/test_apps/test_app/test/token_spec.js index 8d4dd32e1..6dbdcd1f9 100644 --- a/test_apps/test_app/test/token_spec.js +++ b/test_apps/test_app/test/token_spec.js @@ -41,7 +41,7 @@ config({ } }, SomeContract: { - deployIf: "MyToken.methods.isAvailable().call()", + deployIf: "await MyToken.methods.isAvailable().call()", args: [ ["$MyToken2", "$SimpleStorage"], 100