Unverified Commit 03a3302a by Francisco Giordano Committed by GitHub

add missing await in IndividuallyCappedCrowdsale (#867)

parent bd5f7f57
...@@ -72,7 +72,7 @@ contract('IndividuallyCappedCrowdsale', function ([_, wallet, alice, bob, charli ...@@ -72,7 +72,7 @@ contract('IndividuallyCappedCrowdsale', function ([_, wallet, alice, bob, charli
beforeEach(async function () { beforeEach(async function () {
this.token = await SimpleToken.new(); this.token = await SimpleToken.new();
this.crowdsale = await CappedCrowdsale.new(rate, wallet, this.token.address); 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); await this.token.transfer(this.crowdsale.address, tokenSupply);
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment