From 03a3302abd4ef02183cdbcea2a2317a735467588 Mon Sep 17 00:00:00 2001 From: Francisco Giordano Date: Tue, 3 Apr 2018 18:50:24 -0300 Subject: [PATCH] add missing await in IndividuallyCappedCrowdsale (#867) --- test/crowdsale/IndividuallyCappedCrowdsale.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/crowdsale/IndividuallyCappedCrowdsale.test.js b/test/crowdsale/IndividuallyCappedCrowdsale.test.js index f5bd097c2..e8585ad6d 100644 --- a/test/crowdsale/IndividuallyCappedCrowdsale.test.js +++ b/test/crowdsale/IndividuallyCappedCrowdsale.test.js @@ -72,7 +72,7 @@ contract('IndividuallyCappedCrowdsale', function ([_, wallet, alice, bob, charli beforeEach(async function () { this.token = await SimpleToken.new(); this.crowdsale = await CappedCrowdsale.new(rate, wallet, this.token.address); - this.crowdsale.setGroupCap([bob, charlie], capBob); + await this.crowdsale.setGroupCap([bob, charlie], capBob); await this.token.transfer(this.crowdsale.address, tokenSupply); });