@@ -76,38 +76,38 @@ forkOnlyDescribe("ForkTest: Harvester", function () {
7676
7777 describe ( "Harvest" , ( ) => {
7878 it ( "Should harvest from all strategies" , async ( ) => {
79- const { harvester, governor } = fixture ;
80- await harvester . connect ( governor ) [ "harvest()" ] ( ) ;
79+ const { harvester, timelock } = fixture ;
80+ await harvester . connect ( timelock ) [ "harvest()" ] ( ) ;
8181 } ) ;
8282
8383 it ( "Should swap all coins" , async ( ) => {
84- const { harvester, governor } = fixture ;
85- await harvester . connect ( governor ) . swap ( ) ;
84+ const { harvester, timelock } = fixture ;
85+ await harvester . connect ( timelock ) . swap ( ) ;
8686 } ) ;
8787
8888 it ( "Should harvest and swap from all strategies" , async ( ) => {
89- const { harvester, governor } = fixture ;
90- await harvester . connect ( governor ) [ "harvestAndSwap()" ] ( ) ;
89+ const { harvester, timelock } = fixture ;
90+ await harvester . connect ( timelock ) [ "harvestAndSwap()" ] ( ) ;
9191 } ) ;
9292
9393 it ( "Should swap CRV" , async ( ) => {
94- const { harvester, governor , crv } = fixture ;
95- await harvester . connect ( governor ) . swapRewardToken ( crv . address ) ;
94+ const { harvester, timelock , crv } = fixture ;
95+ await harvester . connect ( timelock ) . swapRewardToken ( crv . address ) ;
9696 } ) ;
9797
9898 it ( "Should swap CVX" , async ( ) => {
99- const { harvester, governor , cvx } = fixture ;
100- await harvester . connect ( governor ) . swapRewardToken ( cvx . address ) ;
99+ const { harvester, timelock , cvx } = fixture ;
100+ await harvester . connect ( timelock ) . swapRewardToken ( cvx . address ) ;
101101 } ) ;
102102
103103 it ( "Should swap COMP" , async ( ) => {
104- const { harvester, governor , comp } = fixture ;
105- await harvester . connect ( governor ) . swapRewardToken ( comp . address ) ;
104+ const { harvester, timelock , comp } = fixture ;
105+ await harvester . connect ( timelock ) . swapRewardToken ( comp . address ) ;
106106 } ) ;
107107
108108 it ( "Should swap AAVE" , async ( ) => {
109- const { harvester, governor , aave } = fixture ;
110- await harvester . connect ( governor ) . swapRewardToken ( aave . address ) ;
109+ const { harvester, timelock , aave } = fixture ;
110+ await harvester . connect ( timelock ) . swapRewardToken ( aave . address ) ;
111111 } ) ;
112112
113113 // TODO: Tests for `harvest(address)` for each strategy
0 commit comments