add missing await in IndividuallyCappedCrowdsale (#867)

This commit is contained in:
Francisco Giordano
2018-04-03 18:50:24 -03:00
committed by GitHub
parent bd5f7f5774
commit 03a3302abd

View File

@ -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);
});