Skip to content

Commit

Permalink
Fix capped crowdsale flaky test (OpenZeppelin#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
facuspagnuolo authored and fiiiu committed Mar 2, 2018
1 parent b3a8602 commit 3c48912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/crowdsale/CappedCrowdsale.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 3c48912

Please sign in to comment.