add missing await in IndividuallyCappedCrowdsale (#867)
This commit is contained in:
committed by
GitHub
parent
bd5f7f5774
commit
03a3302abd
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user