|
@@ -18,7 +18,7 @@ contract('TokenTimelock', function ([_, owner, beneficiary]) {
|
|
|
|
|
|
beforeEach(async function () {
|
|
|
this.token = await MintableToken.new({from: owner})
|
|
|
- this.releaseTime = latestTime().unix() + duration.years(1)
|
|
|
+ this.releaseTime = latestTime() + duration.years(1)
|
|
|
this.timelock = await TokenTimelock.new(this.token.address, beneficiary, this.releaseTime)
|
|
|
await this.token.mint(this.timelock.address, amount, {from: owner})
|
|
|
})
|