diff --git a/test/TokenVesting.js b/test/TokenVesting.js index ffe118b66..dee1001a7 100644 --- a/test/TokenVesting.js +++ b/test/TokenVesting.js @@ -71,7 +71,7 @@ contract('TokenVesting', function ([_, owner, beneficiary]) { }); it('should be revoked by owner if revocable is set', async function () { - await vesting.revoke(this.token.address, { from: owner }).should.be.fulfilled; + await this.vesting.revoke(this.token.address, { from: owner }).should.be.fulfilled; }); it('should fail to be revoked by owner if revocable not set', async function () {