Commit 2a997a8e by Tsuyoshi Maeda Committed by Matt Condon

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

parent 56515380
...@@ -76,7 +76,7 @@ contract('SampleCrowdsale', function ([owner, wallet, investor]) { ...@@ -76,7 +76,7 @@ contract('SampleCrowdsale', function ([owner, wallet, investor]) {
}); });
it('should reject payments after end', async function () { 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.send(ether(1)).should.be.rejectedWith(EVMRevert);
await this.crowdsale.buyTokens(investor, { value: ether(1), from: investor }).should.be.rejectedWith(EVMRevert); await this.crowdsale.buyTokens(investor, { value: ether(1), from: investor }).should.be.rejectedWith(EVMRevert);
}); });
......
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