Fix capped crowdsale flaky test (#773)
This commit is contained in:
committed by
Alejo Salles
parent
b3a8602928
commit
3c48912730
@ -20,7 +20,7 @@ contract('CappedCrowdsale', function ([_, wallet]) {
|
||||
beforeEach(async function () {
|
||||
this.token = await SimpleToken.new();
|
||||
this.crowdsale = await CappedCrowdsale.new(rate, wallet, this.token.address, cap);
|
||||
this.token.transfer(this.crowdsale.address, tokenSupply);
|
||||
await this.token.transfer(this.crowdsale.address, tokenSupply);
|
||||
});
|
||||
|
||||
describe('creating a valid crowdsale', function () {
|
||||
|
||||
Reference in New Issue
Block a user