Fix capped crowdsale flaky test (#773)

pull/793/head
Facundo Spagnuolo 7 years ago committed by Alejo Salles
parent b3a8602928
commit 3c48912730
  1. 2
      test/crowdsale/CappedCrowdsale.test.js

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

Loading…
Cancel
Save