add missing await in IndividuallyCappedCrowdsale (#867)

pull/851/head^2
Francisco Giordano 7 years ago committed by GitHub
parent bd5f7f5774
commit 03a3302abd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/crowdsale/IndividuallyCappedCrowdsale.test.js

@ -72,7 +72,7 @@ contract('IndividuallyCappedCrowdsale', function ([_, wallet, alice, bob, charli
beforeEach(async function () {
this.token = await SimpleToken.new();
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);
});

Loading…
Cancel
Save