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