Commit 3c489127 by Facundo Spagnuolo Committed by Alejo Salles

Fix capped crowdsale flaky test (#773)

parent b3a86029
......@@ -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 () {
......
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