@@ -3,7 +3,7 @@ import { duration, ensureException, promisifyLogWatch, latestBlock } from "./hel
33import  takeSnapshot ,  {  increaseTime ,  revertToSnapshot  }  from  "./helpers/time" ; 
44import  {  encodeProxyCall ,  encodeModuleCall  }  from  "./helpers/encodeCall" ; 
55import  {  catchRevert  }  from  "./helpers/exceptions" ; 
6- import  {   
6+ import  { 
77    setUpPolymathNetwork , 
88    deployGPMAndVerifyed , 
99    deployCappedSTOAndVerifyed , 
@@ -501,7 +501,7 @@ contract("SecurityToken", accounts => {
501501        it ( "Should fail to get the total supply -- because checkpoint id is greater than present" ,  async ( )  =>  { 
502502            await  catchRevert ( 
503503                I_SecurityToken . totalSupplyAt . call ( 50 ) 
504-             ) ;   
504+             ) ; 
505505        } ) 
506506    } ) ; 
507507
@@ -855,7 +855,7 @@ contract("SecurityToken", accounts => {
855855        } ) ; 
856856
857857        it ( "Should prune investor length" ,  async  ( )  =>  { 
858-             await  I_SecurityToken . pruneInvestors ( 0 ,  10 ,  {  from : token_owner  } ) ; 
858+             //  await I_SecurityToken.pruneInvestors(0, 10, { from: token_owner });
859859            // Hardcode list of expected accounts based on transfers above 
860860
861861            let  investors  =  await  I_SecurityToken . getInvestors . call ( ) ; 
@@ -871,7 +871,7 @@ contract("SecurityToken", accounts => {
871871            let  balance2  =  await  I_SecurityToken . balanceOf ( account_investor1 ) ; 
872872            await  I_SecurityToken . transfer ( account_affiliate1 ,  balance ,  {  from : account_affiliate2 } ) ; 
873873            await  I_SecurityToken . transfer ( account_affiliate1 ,  balance2 ,  {  from : account_investor1 } ) ; 
874-             await  I_SecurityToken . pruneInvestors ( 0 ,  10 ,  {  from : token_owner  } ) ; 
874+             //  await I_SecurityToken.pruneInvestors(0, 10, { from: token_owner });
875875            let  investors  =  await  I_SecurityToken . getInvestors . call ( ) ; 
876876            let  expectedAccounts  =  [ account_affiliate1 ] ; 
877877            for  ( let  i  =  0 ;  i  <  expectedAccounts . length ;  i ++ )  { 
@@ -893,7 +893,7 @@ contract("SecurityToken", accounts => {
893893    } ) ; 
894894
895895    describe ( "Test cases for the Mock TrackedRedeemption" ,  async ( )  =>  { 
896-          
896+ 
897897        it ( "Should add the tracked redeemption module successfully" ,  async ( )  =>  { 
898898            [ I_MockRedemptionManagerFactory ]  =  await  deployMockRedemptionAndVerifyed ( account_polymath ,  I_MRProxied ,  I_PolyToken . address ,  0 ) ; 
899899            let  tx  =  await  I_SecurityToken . addModule ( I_MockRedemptionManagerFactory . address ,  "" ,  0 ,  0 ,  { from : token_owner  } ) ; 
@@ -959,7 +959,7 @@ contract("SecurityToken", accounts => {
959959            await  I_SecurityToken . approve ( I_MockRedemptionManager . address ,  web3 . utils . toWei ( "500" ) ,  { from : account_investor1 } ) ; 
960960            // Transfer the tokens to module (Burn) 
961961            await  I_MockRedemptionManager . transferToRedeem ( web3 . utils . toWei ( "500" ) ,  {  from : account_investor1 } ) ; 
962-              
962+ 
963963            await  catchRevert ( 
964964                // Redeem tokens 
965965                I_MockRedemptionManager . redeemTokenByOwner ( web3 . utils . toWei ( "250" ) ,  { from : account_investor1 } ) 
@@ -1105,4 +1105,4 @@ contract("SecurityToken", accounts => {
11051105        } ) ; 
11061106    } ) ; 
11071107
1108- } ) ; 
1108+ } ) ; 
0 commit comments