Fixed wrong variable name in SampleCrowdsale.test.js. (#916)

This commit is contained in:
Tsuyoshi Maeda
2018-06-05 08:49:46 +09:00
committed by Matt Condon
parent 5651538045
commit 2a997a8e92

View File

@ -76,7 +76,7 @@ contract('SampleCrowdsale', function ([owner, wallet, investor]) {
});
it('should reject payments after end', async function () {
await increaseTimeTo(this.afterEnd);
await increaseTimeTo(this.afterClosingTime);
await this.crowdsale.send(ether(1)).should.be.rejectedWith(EVMRevert);
await this.crowdsale.buyTokens(investor, { value: ether(1), from: investor }).should.be.rejectedWith(EVMRevert);
});