Browse Source

Fix tests for revokable/non burn vesting calendar

Jorge Izquierdo 8 years ago
parent
commit
a1d2b673c6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      test/VestedToken.js

+ 2 - 2
test/VestedToken.js

@@ -23,12 +23,12 @@ contract('VestedToken', function(accounts) {
     assert.equal(await token.transferableTokens(receiver, now), tokenAmount);
   })
 
-  describe('getting a token grant', async () => {
+  describe('getting a revokable/non-burnable token grant', async () => {
     const cliff = 10000
     const vesting = 20000 // seconds
 
     beforeEach(async () => {
-      await token.grantVestedTokens(receiver, tokenAmount, now, now + cliff, now + vesting, { from: granter })
+      await token.grantVestedTokens(receiver, tokenAmount, now, now + cliff, now + vesting, true, false, { from: granter })
     })
 
     it('tokens are received', async () => {